HTML Tags

Tags

HTML tags can be categorized into two types
  • Paired tags: These tags will only work if you include a matching ending tag for each starting tag. End tag is the same as the opening tag but with a / character after the first angle bracket. 
    • Example:  
      <p>paragraph test </p>
      <h1>Heading</h1>
    • Single tags: These tags do not have a closing tags. With such tags, you would use the  symbol at the end of the tag instead of using a closing tag.
    <br/> -- used to display line breaks on a page.



    List of Tags in HTML


    Tag Name
    Tag Description
    Comments tag
    Anchor tag
    <B>
    Bold tag
    <BODY>
    Body tag
    <BR>
    Line Break tag
    <font>
    Font tag
    <hl> through <h6>
    Heading tags
    <head>
    Head tag
    <hr>
    Horizontal rule tag
    <html>
    Html tag
    <img>
    image tag
    <i>
    italic tag
    <li>
    List Items tag
    <p>
    Paragraph tag
    <table>
    Table tag
    <title>
    Title tag
    <tr>
    Tag for Row in table
    <u>
    Underline tag
    <ul>
    Unordered list tag

    No comments:

    Post a Comment