Thursday, September 15, 2011

How P tag Maintains the Decorum of Web Page?

If you plan to create a webpage, the first thing you have to consider is the language in which the website is written. The most basic language in which the website is written is the html. While this is not the only language on which a website or webpage is built, the hypertext markup language is one of the most important language on which the whole idea of webpage creation depends. Apparently simple, the essence of this language lies in the various tags of the language. These tags make up for the instructions which are seen in the form of the sense created in the layout and structuring of the page.

One of the few tags that are important in is the html <P> tag. This tag is specially important in ensuring a break or clause in the sentence. It does not matter where this tags is placed which might mean that this tag can be used beside one paragraph or even beside one line if you want to create the sense of a separate paragraph indicating a break between the previous sentence and the next one. There are basically two kinds of thetags. One is usually placed before the sentence where you want the paragraph to begin and one at the end where you would like the paragraph to end. The ending tag usually appears with a slash sign before the P to instruct the browser that the tag used previously should work till here and thus declare a king of ceasure. This tag might also contain the alignment instruction for the browser within it.

The <P> tag is really important since it helps in maintaining the decorum of the page. Consider using three different paragraphs of text without these tags and when you see the final webpage you will not find any distinction between the sentences and words in terms of meaning and grammar. More importantly you would not be able to find out the meaning of the whole sentence and it would be just an abstract, meaningless piece on your webpage with no purpose. For example if you add the instruction of tag then the paragraph would appear somewhat like this.

With <P> tags:-

<P>There is nothing like the description of spring as written by William Shakespeare in many of his works. To get the real essence you should focus on his sonnets more than the plays.</P>

<P>John Keats and later Romantics and Victorian poets discuss autumn which brings into question the whole shift in the ways of thinking.</P>

After the use:-

There is nothing like the description of spring as written by William Shakespeare. To get the real essence you should focus on his sonnets more than the plays.
John Keats and later Romantics and Victorian poets discuss autumn which brings into question the whole shift in the ways of thinking.

Without <P> tags, the same text would appear:-

There is nothing like the description of spring as written by William Shakespeare in many of his works. To get the real essence you should focus on his sonnets more than the plays. John Keats and later Romantics and Victorian poets discuss autumn which brings into question the whole shift in the ways of thinking.

MarkupBox.com is a specialized PSD to HTML Conversion Company, backed with years of experience and diligent professionals. We also offer software implementation services like PSD to Magento, PSD to Wordpress, PSD to Drupal and PSD to Joomla and much more.

No comments:

Post a Comment