An overview of basic html tags and its functions
- <html></html>
- the root tag element of html file
- <head></head>
- header information for the web page
- <title></title>
- Title for the web page
- <Meta>
- contains keywords, Descriptions for the web page
- <Body></body>
- Root tag of Visible body of web page
- <h1></h1>
- largest header available for the Body it goes upto h6 the smallest
- <p></p>
- Basic text container with line break at begining and end
- <pre></pre>
- Preformatted text, text appears as it was typed including line break and tags
- <span></span>
- non breaking text
- <Div></Div>
- a basic container for all html tags
- <ol></ol>
- ordered list prints the contents enveloped in <li></li> tags as a numbered list
- <ul></ul>
- same as above but unordered list
- <dl></dl>
- definition list header are wrapped in <dt></dt> and data in <dd></dd>
- <Table> </Table>
- Used as most common way to display information in order
- <caption> </caption>
- Table caption or heading
- <Thead></thead>
- encompasses the table column heading wrapped in <tr><th></th></tr>
- <TBODY></TBODY>
- basic information container
- <tr></tr>
- a basic table row
- <td></td>
- a basic Table cell that contains information
- <font ></font>
- sets the color,font face,font size for any encompassing html
- <b></b>
- make the text bold
- <i></i>
- make the text italics
- <Em></Em>
- emphasis the given text
- <img>
- displays an image where source of image is applied at src,an attribute where the location of the image is specified
- <a> </a>
- anchor, display links to pages websites etc most important attribute is href where the url of the page /resource is specified
vivarem learn by doing more advanced html tutorial with online practice<
Some Basic Tags of html
Basics of formatting
Fonts, colors, images
Links and Frames
Tables and list
Forms and more on colors
|