HTML Paragraphs

  • HTML – Paragraphs

     The paragraph is a base element in text editing. The tag for a paragraph is <p>.
    He places a empty line above and under the text to make it evident, and the browser will take it as it is.

    HTML
    <p>The paragraph is a base element in text editing. The tag for a paragraph is &lt;p&gt;.</p>
    <p>He places a empty line above and under the text to make it evident, and the browser will take it as it is.</p>
    Demo

    The paragraph is a base element in text editing. The tag for a paragraph is <p>.

    He places a empty line above and under the text to make it evident, and the browser will take it as it is.
    HTML Paragraphs

    HTML – Paragraph, justify

    Paragraphs can be edited almost the same easy way as in a text editor. The next example is made with the help of the justify attribute

    HTML
    <p align="justify">The paragraph is a base element in text editing. The paragraph is a base element in text editing. The tag for a paragraph is <p>. This one places a empty line above and under the text to make it evident, and the browser will take it as it is.</p>
    Demo

    The paragraph is a base element in text editing. The paragraph is a base element in text editing. The tag for a paragraph is

    . This one places a empty line above and under the text to make it evident, and the browser will take it as it is.

    HTML – Centered paragraph

    HTML
    <p align="center">The paragraph is a base element in text editing. The paragraph<br /> is a base element in text editing. The tag for a paragraph is &lt;p&gt;. <br />This one places a empty line above and under the text to make it evident, and the browser will take it as it is.</p>
    Demo

    The paragraph is a base element in text editing. The paragraph
    is a base element in text editing. The tag for a paragraph is <p>.
    This one places a empty line above and under the text to make it evident, and the browser will take it as it is.

    In this example every line of the paragraph has been centered in the middle of the giving back line.

    HTML – The paragraph aligned to the right, right

    HTML
    <p align="right">The paragraph is a base element in text editing. The paragraph<br />is a base element in text editing. The tag for a paragraph is &lt;p&gt;.<br />This one places a empty line above and under the text to make it evident, and the browser will take it as it is.</p>
    All the lines of the paragraph had been arranged, in the upper example, to the right.

    Article Source:http://www.techstarcle.com/html-paragraphs/


    Share/Bookmark
     
    Copyright (c) 2016 programmertrends