There are several HTML tags that control the look and format of your webpage. One example is the bold tag that you read about in an earlier article. Remember that you used the bold <b> tag to make text appear boldface or dark? But maybe you need even more control over the format of your webpages. Thats what we will talk about in this tutorial. As with all HTML tags, in the format tags the element name of each tag is surrounded by angle brackets.Nested and Horizontal Rule Tags<i><b>Nested Tags</b></i>You might be wondering if you can use more than one formatting tag on the same section of text. Yes, this is called nesting. To nest two tags together, you will place the opening and closing tags of the second tag inside the opening and closing tags of the first tag. For example, you might want to use both the italic <i> and bold <b> tags together. To do this, you will place the opening bold tag in front of the section of text and the closing bold tag after the section of text. Then you will go back and place the opening italic tag in front of the opening bold tag and the closing italic tag after the closing bold tag.
<hr>The Horizontal Rule TagThe horizontal rule tag will create a horizontal line across the entire width of the webpage. Notice that there is no closing tag. The default style of the line will differ depending on which browser your visitor is using. In newer browsers, those supporting Cascading Style Sheets, you have a lot of control over how the line appears on the screen. But when using only HTML, you can control five attributes; noshade, color, size. width and align.
| |



Save to Del.icio.us




