Welcome to iNFiNiTUDE PROGRAMMING SCHOOL!!
HTML TUTORIAL PART 3 : OVERVIEW OF ALL HTML TAGS
As you know the basics of HTML and know how to create a webpage using a basic template, we go ahead with the overview of all the HTML TAGS used in HTML in this Tutorial.
So the tags are listed below with the description or purpose for what the tag is used for,
NOTE: All the tags mentioned below are only the starting tags, and to end a tag just use '/' for example, <html> can be closed by </html>
So here we go,
BASIC TAGS <!DOCTYPE> Defines the document type
<html> Defines an html document
<body> Defines the body element
<h1> to <h6> Defines header 1 to header 6
<p> Defines a paragraph
<br> Inserts a single line break
<hr> Defines a horizontal rule
<!--...--> Defines a comment
CHAR FORMAT <b> Defines bold text
<font> Deprecated. Defines text font, size, and color
<i> Defines italic text
<em> Defines emphasized text
<big> Defines big text
<strong> Defines strong text
<small> Defines small text
<sup> Defines superscripted text
<sub> Defines subscripted text
<bdo> Defines the direction of text display
<u> Deprecated. Defines underlined text
OUTPUT <pre> Defines preformatted text
<code> Defines computer code text
<tt> Defines teletype text
<kbd> Defines keyboard text
<var> Defines a variable
<dfn> Defines a definition term
<samp> Defines sample computer code
<xmp> Deprecated. Defines preformatted text
BLOCKS <acronym> Defines an acronym
<abbr> Defines an abbreviation
<address> Defines an address element
<blockquote> Defines a long quotation
<center> Deprecated. Defines centered text
<q> Defines a short quotation
<cite> Defines a citation
<ins> Defines inserted text
<del> Defines deleted text
<s> Deprecated. Defines strikethrough text
<strike> Deprecated. Defines strikethrough text
LINKS <a> Defines an anchor
<link> Defines a resource reference
FRAMES <frame> Defines a sub window (a frame)
<frameset> Defines a set of frames
<noframes> Defines a noframe section
<iframe> Defines an inline sub window (frame)
INPUT <form> Defines a form
<input> Defines an input field
<textarea> Defines a text area
<button> Defines a push button
<select> Defines a selectable list
<optgroup> Defines an option group
<option> Defines an item in a list box
<label> Defines a label for a form control
<fieldset> Defines a fieldset
<legend> Defines a title in a fieldset
<isindex> Deprecated. Defines a single-line input field
LISTS <ul> Defines an unordered list
<ol> Defines an ordered list
<li> Defines a list item
<dir> Deprecated. Defines a directory list
<dl> Defines a definition list
<dt> Defines a definition term
<dd> Defines a definition description
<menu> Deprecated. Defines a menu list
IMAGES <img> Defines an image
<map> Defines an image map
<area> Defines an area inside an image map
TABLES <table> Defines a table
<caption> Defines a table caption
<th> Defines a table header
<tr> Defines a table row
<td> Defines a table cell
<thead> Defines a table header
<tbody> Defines a table body
<tfoot> Defines a table footer
<col> Defines attributes for table columns
<colgroup> Defines groups of table columns
STYLES <style> Defines a style definition
<div> Defines a section in a document
<span> Defines a section in a document
META INFO <head> Defines information about the document
<title> Defines the document title
<meta> Defines meta information
<base> Defines a base URL for all the links in a page
<basefont> Deprecated. Defines a base font
PROGRAMMING <script> Defines a script
<noscript> Defines a noscript section
<applet> Deprecated. Defines an applet
<object> Defines an embedded object
<param> Defines a parameter for an object
So go through the above mentioned tags, and we will explain in detail how each tag is used in the next tutorial....
-ARVIND