LATEST

HTML basics | Paragraphs in Web Page

 

Every HTML program has a rigid structure; the entire HTML document is enclosed within <HTML> </HTML> tags. Within these tags two distinct sections the <HEAD> </HEAD> tags and the <BODY> </BODY> tags are created. In the Head Section Titles and some inner working codes are written. Just like Title information in the Head Section, Footer information like copyright information, contact details are placed at the foot of the website. For example, contact details –

  <ADDRESS> Address placed in footer</ADDRESS>

 






Paragraphs in HTML: Now, in the Body section the actual content of the website written. As described in the previous article some attributes can be set in body section it makes webpage looks attractive. If we write some paragraphs how can we manage distinct paragraphs. For this we need a blank line, because a blank line always separates paragraphs in textual material. The tag that provides this functionality is called the <P> tag. On encountering this tag the browser, moves onto a new line, skipping one line between the previous line and the new line.

 

Line Breaks in HTML: Just like paragraphs in HTML, when text needs to start from a new line without skipping a blank line like paragraph, <BR> Line Breaks tag are used. Line breaks tag simply jumps and start of the next line. When browser encounter <BR> tag it will not continue on the same line but start a new line. Browsers ignore multiple consecutive <P> tags, but recognize multiple consecutive <BR> tags.

 

HTML document pages are usually divided into sections and subsections, which need to be emphasized. For making visually attractive HTML provides certain Heading Style and Horizontal Rules, which helps break text into logical sections.

In Next Article we will discuss Different heading style and horizontal rules. 

 

SEE YOU IN THE NEXT ARTILE…………………………………..THANK YOU.

 

 

No comments:

Post a Comment