Text content

  • Introduction

    The HTML <p> element (or HTML Paragraph Element) represents a paragraph of text.
    Each paragraph begins with an opening paragraph tag <p> and ends with a closing paragraph tag </p>.
    Within one paragraph there can be one or many breaks added. These breaks are represented by the <br/> tag.
    Also, a line can be added to separate text within one paragraph. To add a line the <hr/> tag must be used.

  • Example

    Code


    <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec rutrum massa neque, elementum blandit erat feugiat quis.
    <br/>
    Pellentesque ac arcu sit amet libero fringilla auctor et eget orci. Integer bibendum nisi a semper lobortis.
    <hr/>
    Maecenas ut diam pharetra turpis pulvinar venenatis quis vitae leo.</p>
    

    Result


    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec rutrum massa neque, elementum blandit erat feugiat quis.
    Pellentesque ac arcu sit amet libero fringilla auctor et eget orci. Integer bibendum nisi a semper lobortis.


    Maecenas ut diam pharetra turpis pulvinar venenatis quis vitae leo.
  • Headers



    The HTML <header> element represents a group of introductory or navigational aids. It may contain some heading elements but also other elements like a logo, wrapped section's header, a search form, and so on.
    Each header begins with an opening header tag (<h1>, <h2>, etc.) and ends with a closing header tag (</h1>, </h2>, etc.).

    <h1>Header 1</h1>

    Header 1


    <h2>Header 2</h2>

    Header 2


    <h3>Header 3</h3>

    Header 3


    <h4>Header 4</h4>

    Header 4

We use cookies to operate this website and to improve its usability. Full details of what cookies are, why we use them and how you can manage them can be found by reading our Privacy & Cookies page. Please note that by using this site you are consenting to the use of cookies.