neskaya
Follow [ bookmark livejournal facebook twitter rss stumbleupon ]
Log in to download layouts, skins, and emoticons. Register?

Designs

Web Templates
LJ Layouts
phpBB3 Skins

Graphics

Avatars
Textures
Buttons
Emoticons
Pixels
Fonts

Misc & Fun

Quizzes
Tutorials
Interactive

Community

Forums
Rotation

Site

FAQ & Contact
Links

Affiliates

Komet Tails
Smile Scan
Dragonrain

CSS Tutorial: List <li> Customize Header Tags

HTML has built in header tags h1, h2, h3, and etc. They automatically make your font bigger, indent, bold, etc. as normal headers do. Why would you want to use these as opposed to just changing the font size and etc yourself? First, it's easier. Also, header tags help in search engine optimization (SEO). H1 and H2 tags are particularly useful for search engines to find what your page is about, so it's always useful to use these tags.

But if you want to change the size of the font in the tag or the ridiculously large margins, you can customize the tag through CSS. Just put the below code in your stylesheet:

Code

Customize it with your own values, and you can make the same for H2, H3, and so on and so forth.