HTML Basics


  • Horizontal Lines
    Horizontal 
    Lines in the HTML document define by <hr /> tag.
    Ex: <h1>Heading 1 </h1>
           <hr />
           <p> This is the paragraph</p>


  • New Line
    <br> tag defines new line in the html document
    Ex: <p> No: 50, <br />
    Galle Rd, <br />
    Colombo 05. </p>


  • HTML Comments
    For the purpose of maintaining more readability & understandability of the code, programmers use comments. HTML also supports for comments.
    Ex: <!-- This is an HTML comment -->

No comments:

Post a Comment