




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page. Ta g N a m e Cod e E x a m p le B r o w ser View ** Nothing will show (Tip)
Visit Our Site < / a> Visit Our Site (Tip) b o ld < b > Example < / b > E x a m p le
b od y o f H TML d o cu m e n t < b o d y > The content of your H TML page < / b o d y > Contents of your web page (Tip)
lin e b r e ak^ The contents of your page of your page < b r >^ The contents The contents of your web page The contents of your web page ce n t e r < ce n t e r > This will center your contents < / ce n t e r > This will center your contents
d e fin it io n d escr ip t i o n
Definition Term < d d > D e fin it io n of t h e t er m < / d d > Definition Term < d d > D e fin it io n of t h e t er m < / d d >
Definition Term D e fin it io n o f t h e t e r m Definition Term D e fin it io n o f t h e t e r m
d e fin it io n list < d l> Definition Term Definition of the term Definition Term Definition of the term < / d l> Definition Term Definition of the term Definition Term Definition of the term
d e fin it io n t e r m
< d t> D e fin itio n Te r m < / d t > Definition of the term < d t> D e fin itio n Te r m < / d t > Definition of the term
D e fin it io n Ter m Definition of the term D e fin it io n Ter m Definition of the term e m p h a sis This is an^ < em >^ Example < / e m >^ of using the emphasis tag This is an Ex ample of using the emphasis tag
e m b ed o b j e ct < e m b ed src="yourfile.mid" width="100%" height="60" align="center"> (Tip) e m b ed o b j e ct < e m b e d src="yourfile.mid" autostart="true" hidden="false" loop="false">
Music will begin playing when your page is loaded and will only play one time. A control panel will be displayed to enable your visitors to stop the music. fo n t < fo n t^ face="Times New Roman">Example < / fo n t > Example (Tip)
in p u t fie ld Example 1:
< in p u t type="text" size="10" maxlength="30"> < in p u t type="Submit" value="Submit">
Example 1: (Tip) Submit
(Internet Explorer) in p u t fie ld Example 2:
< in p u t type="text" style="color: #ffffff; font-family: Verdana; font-weight: bold; font- size: 12px; background-color: #72a4d2;" size="10" maxlength="30"> < in p u t type="Submit" value="Submit">
Example 2: (Tip) Submit in p u t fie ld Example 3:
Example 3: (Tip) in p u t fie ld Example 4:
Enter Your Comments:
< in p u t type="Submit" value="Submit"> < in p u t type="Reset" value="Clear">
Example 4: (Tip) Submit Clear
in p u t fie ld Example 5:
Select an option:
< in p u t type="Submit" value="Submit">
Example 5: Tip) Select an option: option 2 Submit in p u t fie ld^ Example 6:^ Example 6:^ (Tip)
fo n t < fo n t face="Times New Roman"
fo n t < fo n t face="Times New Roman" size="+3"
fo r m < fo r m action="mailto:[email protected] "> Name:
Email:
< / fo r m > Name: (Tip) Email: Submit
h e a d in g 1 h e a d in g 2 h e a d in g 3 h e a d in g 4 h e a d in g 5 h e a d in g 6 < h 1 > Heading 1 Example < / h 1 > < h 2 > Heading 2 Example < / h 2 > < h 3 > Heading 3 Example < / h 3 > < h 4 > Heading 4 Example < / h 4 > < h 5 > Heading 5 Example < / h 5 > < h 6 > Heading 6 Example < / h 6 >
h e a d in g o f H TML d o cu m e n t < h e ad > Contains elements describing the document < / h e ad > Nothing will show h o r izo n t a l r u le < h r / > Contents of your web page (Tip) Contents of your web page h o r izo n t a l r u le < h r width="50%" size="3" /> Contents of your web page Contents of your web page h o r izo n t a l r u le < h r width="50%" size="3" noshade /> Contents of your web page Contents of your web page
(Internet Explorer) h o r izo n t a l r u le < h r width="75%" color="#ff0000" size="4" /> Contents of your web page Contents of your web page
(Internet Explorer) h o r izo n t a l r u le < h r width="25%" color="#6699ff" size="6" /> Contents of your web page Contents of your web page
h y p e r t e x t m a r k u p la n g u a g e < h t m l>
Title of your web page
H TML w eb p ag e contents
< / h t m l> Contents of your web page it a lic < i> Example < / i> Ex ample im a g e < im g src="Earth.gif" width="41" height="41" border="0" alt="text describing the image" /> (Tip)
d e le t ed t e x t < str ik e >^ Example < / st r ik e>^ Example st r on g e m p h a sis < str o n g >^ Example < / st r on g >^ E x a m p le t a b le Example 1: < t a b le b o r d e r = "4" cellpadding="2" cellspacing="2" width="100%">
Column 1 Column 2
< / t a b le > Example 2: (Internet Explorer) < t a b le b o r d e r = "2" bordercolor="#336699" cellpadding="2" cellspacing="2" width="100%">
Column 1 Column 2
< / t a b le > Example 3: < t a b le ce llp ad d in g = "2" cellspacing="2" width="100%">
Column 1 Column 2
Row 2 Row 2
< / t a b le > Example 1: (Tip) Column 1 Column 2 Example 2: (Tip) Column 1 Column 2 Example 3: (Tip) Column 1 Column 2 Row 2 Row 2 t a b le d a t a
< t d > Co lu m n 1 < / td > < t d > Co lu m n 2 < / td >
Co lu m n 1 Co lu m n 2 t a b le h e a d er
< t h > Co lu m n 1< / t h > < t h > Co lu m n 2< / t h > < t h > Co lu m n 3< / t h >
Row 2 Row 2 Row 2
Row 3 Row 3 Row 3 Colum n 1 Colum n 2 Colum n 3 Row 2 Row 2 Row 2 Row 3 Row 3 Row 3 Row 4 Row 4 Row 4
Select an option:
< in p u t type="radio" name="option"> Option 1 < in p u t type="radio" name="option" checked> Option 2 < in p u t type="radio" name="option"> Option 3
Select an option:
< in p u t type="checkbox" name="selection"> Selection 1 < in p u t type="checkbox" name="selection" checked> Selection 2 < in p u t type="checkbox" name="selection"> Selection 3 < in p u t type="Submit" value="Submit">
Select an option: Option 1 Option 2 Option 3 Select an option: Selection 1 Selection 2 Selection 3 Submit list it em Example 1:
< li type="disc">List item 1 < / li> < li type="circle">List item 2 < / li> < li type="square">List item 3 < / li>
Example 2:
< li> List item 1 < / li> < li> List item 2 < / li> < li> List item 3 < / li> < li> List item 4 < / li>
Example 1: (Tip)
Example 2: i. List it em 1 ii. List it em 2 iii. List it em 3 iv. List it em 4 lin k
(Internet Explorer) scr ollin g t e x t < m a r q u e e bgcolor="#cccccc" loop="-1" scrollamount="2" width="100%">Example Marquee < / m a r q u e e > (Tip) m e n u < m e n u > List item 1 List item 2 List item 3 < / m e n u >
m e t a < m e t a name="Description" content="Description of your site"> < m e t a name="keywords" content="keywords describing your site"> Nothing will show (Tip) m e t a < m e t a HTTP-EQUIV="Refresh" CONTENT="4;URL=http://www.yourdomain.c om/"> Nothing will show (Tip)
Row 4 Row 4 Row 4
d o cu m e n t t it le < t it le >^ Title of your^ H TML p ag e < / t itle > Title of your web page will be viewable in the title bar.(Tip) <tr> t a b le r o w <table border="2" cellpadding="2" cellspacing="2" width="100%"> < t r > <td>Column 1</td> <td>Column 2</td> < / t r > </table> Co lu m n 1 Co lu m n 2
<u> u n d er lin e <u>Example</u> Example <ul> u n o r d e r e d list Example 1:<br> <br> < u l> <li>List item 1</li> <li>List item 2</li> < / u l> <br> Example 2:<br> < u l ty p e = " d isc" > <li>List item 1</li> <li>List item 2</li> < u l ty p e = " cir cle " > <li>List item 3</li> <li>List item 4</li> < / u l> < / u l> Example 1:
Example 2: