HTML Tags Used in Chip 2.0
August 5, 2009
Tag
|
Name
|
Code Example
|
<!–
|
comment
|
<!–This can be viewed in the HTML part of a document–>
|
<A –
|
anchor
|
<A HREF=”http://www.yourdomain.com/”>Visit Our Site</A>
|
<B>
|
bold
|
<B>Example</B>
|
<BIG>
|
big (text)
|
<BIG>Example</BIG>
|
<BODY>
|
body of HTML document
|
<BODY>The content of your HTML page</BODY>
|
<BR>
|
line break
|
The contents of your page<BR>The contents of your page
|
<CENTER>
|
center
|
<CENTER>This will center your contents</CENTER>
|
<EM>
|
emphasis
|
This is an <EM>Example</EM> of using the emphasis tag
|
<EMBED>
|
embed object
|
<EMBED src=”yourfile.mid” width=”100%” height=”60″ align=”center”>
|
<EMBED>
|
embed object
|
<EMBED src=”yourfile.mid” autostart=”true” hidden=”false” loop=”false”>
<noembed><bgsound src=”yourfile.mid” loop=”1″></noembed> |
<FONT>
|
font
|
<FONT>Example</FONT>
|
<H1>
|
heading 1
|
<H1>Heading 1 Example</H1>
|
<H2>
|
heading 2
|
<H2>Heading 2 Example</H2>
|
<H3>
|
heading 3
|
<H3>Heading 3 Example</H3>
|
<H4>
|
heading 4
|
<H4>Heading 4 Example</H4>
|
<H5>
|
heading 5
|
<H5>Heading 5 Example</H5>
|
<H6>
|
heading 6
|
<H6>Heading 6 Example</H6>
|
<HEAD>
|
heading of HTML document
|
<HEAD>Contains elements describing the document</HEAD>
|
<HR>
|
horizontal rule
|
<HR>
|
<HTML>
|
hypertext markup language
|
<HTML><HEAD><META><TITLE>Title of your web page</TITLE></HEAD><BODY>HTML web page contents</BODY></HTML>
|
<I>
|
italic
|
<I>Example</I>
|
<IMG>
|
image
|
<IMG SRC=”Earth.gif” WIDTH=”41″ HEIGHT=”41″ BORDER=”0″ ALT=”a sentence about your web site”>
|
<INPUT>
|
input field
|
Example 1:
<FORM METHOD=post ACTION=”/cgi-bin/example.cgi”>
<INPUT type=”text” size=”10″ maxlength=”30″> <INPUT type=”Submit” VALUE=”Submit”> </FORM> |
<LINK>
|
link
|
Visit our <A HREF=”http://www.yourdomain.com/”>site</A>
|
<MARQUEE>
(Internet Explorer) |
scrolling text
|
|
<MENU>
|
menu
|
<MENU>
<LI type=”disc”>List item 1 <LI type=”circle”>List item 2 <LI type=”square”>List item 3 </MENU> |
<META>
|
meta
|
<META name=”Description” content=”Description of your site”>
<META name=”keywords” content=”keywords describing your site”> |
<SMALL>
|
small (text)
|
<SMALL>Example</SMALL>
|
<STRONG>
|
strong emphasis
|
<STRONG>Example</STRONG>
|
<TD>
|
table data
|
<TABLE BORDER=”2″ CELLPADDING=”2″ CELLSPACING=”2″ WIDTH=”100%”>
<TR> <TD>Column 1</TD> <TD>Column 2</TD> </TR> </TABLE> |
<TITLE>
|
document title
|
<TITLE>Title of your HTML page</TITLE>
|
<TR>
|
table row
|
<TABLE BORDER=”2″ CELLPADDING=”2″ CELLSPACING=”2″ WIDTH=”100%”>
<TR> <TD>Column 1</TD><TD>Column 2</TD> </TR> </TABLE> |
<TT>
|
teletype
|
<TT>Example</TT>
|
<U>
|
underline
|
<U>Example</U>
|
Advertisements
No comments yet