Showing posts with label CLOSING SINGLE TAGS PROPERLY. Show all posts
Showing posts with label CLOSING SINGLE TAGS PROPERLY. Show all posts

Wednesday, 18 February 2015

OUTPUT FIGURE 6.9 RULE LINES WITHOUT SHADING.

OUTPUT
FIGURE 6.9 RULE LINES WITHOUT SHADING.










LINE BREAK

The <hr> tag breaks a line of text at the point where it appears. When a web browser encounters a <br> tag, it restarts the text after the tag at the left margin (whatever the current left margin happens to be for the current element). You can use<br> within other elements, such as paragraphs or list items; <br> won’t add extra space above or below the new line or change the font or style of the current entity. All it does is restart the text all the next line.

CLOSING SINGLE TAGS PROPERLY

Like the <hr> tag, the <br> tag has no closing tag in HTML. To convert this tag to XHTML and to ensure compatibility with HTML browsers, add a space and forward slash to the end of the tag and its attributes, as shown in the following example:

And then is heard no more: it is a tale <br/>

Told by an idiot, full of sound and fury, <br/>

Signifying nothing, </p>