Thursday 10 July 2014

html tags

Now let us have a look at some of the tags that we use in html.

Basic
 
<!DOCTYPE> Defines the document type

<html> Defines an HTML document
<body> Defines the document's body
<h1> to <h6> Defines HTML headings
<p> Defines a paragraph
<br /> Inserts a single line break
<hr /> Defines a horizontal line <!--...--> Defines a comment
Formatting  
<acronym> Defines an acronym
<abbr> Defines an abbreviation
<address> Defines contact information for the author/owner of a document
<b> Defines bold text
<bdo> Defines the text direction
<big> Defines big text
<blockquote> Defines a long quotation
<center> Deprecated. Defines centered 
<cite> Defines a citation
<code> Defines computer code text
<del> Defines deleted text
<dfn> Defines a definition term
<em> Defines emphasized text
<font> Deprecated. Defines font, color, and size for text
<i> Defines italic text
<ins> Defines inserted text
<kbd> Defines keyboard text
<pre> Defines preformatted text
<q> Defines a short quotation
<s> Deprecated. Defines strikethrough tex
<samp> Defines sample computer code
<small> Defines small text
<strike> Deprecated. Defines strikethrough tex
<strong> Defines strong text
<sub> Defines subscripted text
<sup> Defines superscripted text
<tt> Defines teletype text
<u> Deprecated. Defines underlined tex
<var> Defines a variable part of a text
<xmp> Deprecated. Defines preformatted text  
Forms  
<form> Defines an HTML form for user in
<input /> Defines an input control
<textarea> Defines a multi-line text input control
<button> Defines a push button
<select> Defines a select list (drop-down list)
<optgroup> Defines a group of related options in a select list
<option> Defines an option in a select list
<label> Defines a label for an input element
<fieldset> Defines a border around elements in a form
<legend> Defines a caption for a fieldset element
<isindex> Deprecated. Defines a searchable index related to a document
Frames  
<frame /> Defines a window (a frame) in a frameset
<frameset> Defines a set of frames
<noframes> Defines an alternate content for users that do not support frames
<iframe> Defines an inline frame
Images
<img /> Defines an image
<map> Defines an image-map
<area /> Defines an area inside an image-m
Links
<a> Defines an anchor
<link /> Defines the relationship between a document and an ernal resource
Lists
<ul> Defs an unordered list
<ol> Defines an ordered list
<li> Defines a list item
<dir> Deprecated. Defines a directolist
<dl> Defines a definition list
<dt> Defines a term (an item) in a definition list
<dd> Defines a description of a term in a definition list
<menu> Deprecated. Defines a menu list
Tables  
<table> Defines a table
<caption> Defines a table caption
<th> Defines a header cell in a table
<tr> Defines a row in a table
<td> Defines a cell in a table
<thead> Groups the header content in a table
<tbody> Groups the body content in a table
<tfoot> Groups the footer content in a table
<col /> Defines attribute values for one or more columns in a table
<colgroup> Defines a group of columns in a table for formatting
Styles  
<style> Defines style information for a document
<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 metadata about an HTML document
<base /> Defines a default address or a default target for all links on a page
<basefont /> Deprecated. Defines a default font, color, or size for the text in a page
Programming  
<script> Defines a client-side script
<noscript> Defines an alternate content for users that do not support client-side scripts
<applet> Deprecated. Defines an embedded applet
<object> Defines an embedded object STF
<param /> Defines a parameter for an object

0 comments:

Post a Comment