« Web, HTML, Tech Forum

Where can I find the classes for certain aspects of the page?

Posted by Stonmann

posted

Forum: Web, HTML, Tech

I'm very new to codding so forgive me if this is quite a basic question, but how do I find the classes for the different part of the page. Like I want to fill my blurb in with a white box, but I don't know what the class is.


Report Topic

4 Replies

Sort Replies:

Reply by ZoranaDragon

posted

Alot of code is just sorta frankensteining things together. I'd start with digging into a few layouts and checking out some tutorials first to get the hang of things. The HTML group has some great info for getting started.

If you're reaaaaly wanting to dig into the meat of everything without checking out the other stuff first, inspect element can help you out a bit if you can understand what you're looking at.


Permalink Report Reply

Reply by Stonmann

posted

Thanks! I’ll keep looking N_N


Permalink Report Reply

Reply by noriaki (nure)

posted

You can also use Inspect Element in your browser to find stuff! 

Right click on the page, and select Inspect Element, it's the option on the bottom. In the Element tab (it's the default one so no need to change) you can hover your pointer over the HTML lines, which will highlight that part of the page. You'll find the name of the class in the code, where it says class="some-name" :D For example <div class="cool-name">Weewoo</div>

You'll need to click the arrow on the left of the line of code to see the elements under it, btw


Permalink Report Reply

Reply by Stonmann

posted

I have tried that but sometimes it's hard to make heads or tails of it. I do need to try more tho :)) Thanks!


Permalink Report Reply