click below
click below
Normal Size Small Size show me how
HTML TAGS!
all html tags for begginers
Question | Answer |
---|---|
!--...-- | The HTML 'comments' tag is used for creating comments within your HTML code. |
!doctype | The HTML !doctype tag is used for specifying which version of HTML the document is using. This is referred to as the document type declaration (DTD). |
a | The HTML a tag is used for creating a hyperlink to either another document, or somewhere within the current document. |
abbr | The HTML abbr tag is used for indicating an abbreviation. |
acronym | The HTML acronym tag is used for indicating an acronym. |
address | The HTML address tag is used for indicating an address, usually related to authorship of the current document. |
applet | The HTML applet tag is used for embedding a Java applet within an HTML document. |
area | The HTML area tag is used for defining an area in an image map. |
b | The HTML b tag is used for specifying bold text. |
base | The HTML base tag is used to specify a base URI, or URL, for relative links. For example, you can set the base URL once at the top of your page, then all subsequent relative links will use that URL as a starting point. |
basefront | The HTML basefont tag is used to specify a base font for the document to use. |
bdo | The HTML bdo tag is used for overriding the text direction. |
big | The HTML big tag is used for specifying large text. |
blockquote | The HTML blockquote tag is used for indicating long quotations (i.e. quotations that span multiple lines). |
body | The HTML body tag is used for indicating the main content section of the HTML document. The body tag is placed between the </head> and the </html> tags. |
br | The HTML br tag is used for specifying a line break. |
button | The HTML button tag is used for creating a button within forms. |
caption | The HTML caption tag is used for creating table captions. |
center | The HTML center tag is used to center-align HTML elements. |
cite | The HTML cite tag is used for indicating a citation. |
code | The HTML code tag is used for indicating a piece of code. The code tag surrounds the code being marked up. |
col | The HTML col tag is used for specifying column properties for each column within a colgroup. |
colgroup | The HTML colgroup tag is used for specifying properties for a group of columns within a table. |
dd | The HTML dd tag is used for specifying a definition description in a definition list. |
del | The HTML del tag is used for markup of deleted text. |
dfn | The HTML dfn tag is used for indicating a definition. The dfn tag surrounds the word/term being defined. |
dir | The HTML dir tag is used for specifying a directory list. |
div | used for defining a section of your document.it can group large sections of HTML elements together and format them with CSS. For example, you could have your navigation section wrapped in one div and your main content section in another div. |
dl | The HTML dl tag is used for declaring a definition list. |
dt | The HTML dt tag is used for specifying a definition term in a definition list. |
em | The HTML em tag is used for indicating emphasis. The em tag surrounds the word/term being emphasised. |
fieldset | used for grouping related form elements. By using the fieldset tag and the legend tag, you can make your forms much easier to understand for your users. |
font | The HTML font tag is used to specify the font to use. |
form | The HTML form tag is used for declaring a form. |
frame | used to specify each frame within a frameset. For example, you can have a left frame for navigation and a right frame for the main content. For each frame, you specify the frame with the frame tag. |
frameset | used to separate the window into frames. For example, you can have a left frame for navigation and a right frame for the main content. |
h1 | The HTML h1 tag is used for specifying level 1 headings. There are 6 levels of headings (h1 - h6) with h1 the most important and h6 the least important. |
h2 | The HTML h2 tag is used for specifying level 2 headings. There are 6 levels of headings (h1 - h6) with h1 the most important and h6 the least important. |
h3 | The HTML h3 tag is used for specifying level 3 headings. There are 6 levels of headings (h1 - h6) with h1 the most important and h6 the least important. |
h4 | The HTML h4 tag is used for specifying level 4 headings. There are 6 levels of headings (h1 - h6) with h1 the most important and h6 the least important. |
h5 | The HTML h5 tag is used for specifying level 5 headings. There are 6 levels of headings (h1 - h6) with h1 the most important and h6 the least important. |
h6 | The HTML h6 tag is used for specifying level 6 headings. There are 6 levels of headings (h1 - h6) with h1 the most important and h6 the least important. |
head | The HTML head tag is used for indicating the head section of the HTML document. |
hr | The HTML hr tag is used for creating a horizontal rule. |
html | the container that contains all other HTML elements (except for the !DOCTYPE tag which is located before the opening html tag). All other HTML elements are nested between the opening <html> and </html> tags. |
i | The HTML i tag is used for specifying text in italics. |
iframe | The HTML iframe tag is used to specify an inline frame. |
img | The HTML img tag is used for embedding images into an HTML document. |
input | The HTML input tag is used within a form to declare an input element - a control that allows the user to input data. |
ins | The HTML ins tag is used for markup of inserted text. |
isindex | The HTML isindex tag is used for creating a single line text input control. |
kbd | The HTML kbd tag is used for indicating the text to be entered by the user. The kbd tag surrounds the word/phrase. |
label | The HTML label tag is used for adding a label to a form control. |
legend | used for labelling the fieldset element. The fieldset tag is used to group the form elements whilst the legend tag provides a label for the fieldset. |
li | The HTML li tag is used for specifying a list item in ordered, unordered, directory, and menu lists. |
link | The HTML link tag is used for defining a link to an external document. It is placed in in the <head> section of the document. |
map | The HTML map tag is used for defining an image map. |
menu | The HTML menu tag is used for specifying a menu list. |
meta | The HTML meta tag is used for declaring metadata for the HTML document. |
noframes | The HTML noframes tag is used (in conjunction with the frameset tag) for specifying alternative content for browsers that don't support frames. |
noscript | The HTML noscript tag is used for providing alternative content for browsers that don't support javascript or other scripting languages. |
object | The HTML object tag is used for embedding an object within an HTML document. Use this tag to embed multimedia in your web pages. |
>,< | Put before every HTML command |
ol | The HTML ol tag is used for specifying an ordered list (or numbered list). |
optgroup | The HTML optgroup tag is used for grouping related options within your select list. This makes it easier for users to comprehend their choices when looking at a large list. |
option | The HTML option tag is used in conjunction with the select tag and is used for defining option items within the select list. |