HTML contains lots of predefined tags. Some of them are described below: Show Document structure tag:
Syntax: <html> Statements... </html> Code: html
Output :
Syntax: <head> Statements... </head> Code: html
Output :
Syntax: <body> Statements... </body> Code: html
Output :
Syntax: <title> Statements... </title> Code: htmlOutput : Content container tag: Heading tag: It is used to define the heading of an HTML document. Syntax: <h2> Statements... </h> <h2> Statements... </h2> <h3> Statements... </h3> <h4> Statements... </h4> <h5> Statements... </h5> <h6> Statements... </h6> Code: html
Output :
Syntax: <p> Statements... </p> Code: html
Output :
Syntax: <em> Statements... </em> Code: htmlOutput :
Syntax: <b> Statements... </b> Code: htmlOutput :
Syntax: <i> Statements... </i> Code: htmlOutput :
Syntax: <small> Statements... </small> Code: htmlOutput :
Syntax: <u> Statements... </u> Code: htmlOutput :
Syntax: <strike> Statements... </strike> Code: html
Output :
Syntax: <a href="..."> Statements... </a> Code: htmlOutput :
Syntax: <li> Statements... </li> Code: html
Output :
Syntax: <ol> Statements... </ol> Code: html
Output :
Syntax: <ul> Statements... </ul> Code: html
Output :
Syntax: <!-- Statements... --> Code: html
Syntax: <marquee> Statements... </marquee> Code: html
Output :
Syntax: <center> Statements... </center> Code: html
Output :
Syntax: <font> Statements ... </font> Code: html
Output : Empty (Non-Container) Tags:
Syntax: <br> Code: html
Output :
Syntax: <img> Code: html
Output :
Syntax: <link> Code: html
Syntax: <hr/>
html
Output :
Syntax: <meta> Statements ... <meta> Code: html
Syntax: <table> Statements... </table> Code: html
Output :
Syntax: <tr> Statements... </tr> Code: html
Output :
Syntax: <th> Statements ... </th> Code: html
Output :
Syntax: <td> Statements ... </td> Code: html
Output : Input Tags:
Syntax: <form> Statements ... </form> Code: html
Output :
Syntax: <input> Code: html
Output :
Syntax: <option> Statements ... </option> Code: html
Output :
Syntax: <input> Code: html
Output : Supported Browsers:
HTML is the foundation of web pages and is used for webpage development by structuring websites and web apps. You can learn HTML from the ground up by following this HTML Tutorial and HTML Examples. |