|
HTML makes it easy to add style to your page. This section will provide you with information on horizontal rules, headings and other text styles.
Horizontal RulesThe <hr> horizontal rule tag creates a line which can be used to break up space on your page. The <hr> horizontal rule tag has three principal attributes:
HeadingsThe heading tag allows you to add headings and subheadings to your page. The headings tag has six sizes:
Headings can be aligned left, right or center with the align attribute. Left is the default alignment. Here's how <h3 align=center> Center Heading <h3> appears in your browser:
Center Heading
CenterLike the align attribute, the <center> center tag can be used to center text, graphics, or tables. Here's how <center>This is center text.</center> would appear in your browser:
BoldThe <b> bold tag makes text darker and thicker. Here's how <b>This is bold text </b> would appear in your browser:
This is bold text
ItalicsThe <i> italics makes text italic. A similar tag, <adress> also makes text italic and is generally used to provide contact information a the end on a page.
FontThe <font> font tag can be used to change the size, or style. The font tag has three main attributes:
Nesting TagsYou can also use multiple tags and attributes together to get neat effects. When nesting tags, be sure to close the tags in the same order that you opened them.
<font size=+1 color=red> <b> <i>This is neat.</font> </b> </i> In this section we have provided you with some basic tags to add style to your page.
|