|
Main Menu
|
Path = Home > Using CSS > Using CSS - The H1 Tag Using CSS - The H1 TagTo make large text such as titles on your web page you can use the H1 tag. Here is an example using normal HTML. The basic code is :- <h1>Sample Text</h1> and this will give you large text in the color of your current text (note that you need a closing tag). Sample TextUsing CSS you can modify the H1 tag to make it more useful h1 { you can change the font h1 { Sample TextYou can make the text more interesting by adding color h1 { Sample Textnext you can change the style of the text make bold h1 { Sample Textmake italic h1 { Sample Textunderline h1 { Sample Textand change the height of the text h1 { Sample TextThese examples all use the H1 tag, but you can do exactly the same using the H2, H3, H4, H5 and H6 tags.
|
|
© 2000 - 2007 Janim.net - All Rights Reserved |