0% found this document useful (0 votes)
9 views2 pages

Essential HTML Tags and Attributes Guide

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

Essential HTML Tags and Attributes Guide

Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

HTML GUIDE:

Basic Tags:

<!DOCTYPE html>
<html></html>
<title></title>
<body></body>

Body Tag and Attributes


<body bgcolor=”color”></body>
<body background=”[Link]”></body>
<body text=”color”></body>
<body link=”color”></body>
<body alink=”color”></body>
<body vlink=”color”></body>

Font Tag and Attributes


<font></font>
<font size=”value”></font>

<font face=”name”></font>
<font color=”color”></font>

Text Formatting Tags


<b></b>
<strong></strong>
<i></i>
<em></em>
<small></small>
<sub></sub>
<sup></sup>

Link Tag
<a href=” ”></a>

FRAMESET
<frameset></frameset>
<cols></cols>
<rows></rows>
<frame src>
<frame src=”” name=””>

FORMS
<form></form>
<!--example of a single-line text input-->
name: <input type="" name="">
<!-example of a single-line psswrd input-->
username: <input type="" name="">
<!-basic example of a multi-line text input-->
<textarea rows="" cols="" name="" placeholder="..."></textarea>
<!--example of checkbox-->
<input type="" name=""> ****
<!--example of radio button-->
<input type="" name="" value="">****
<!--example of dropdown list-->
<select name="dropdown"></select>
<option value=""></option>
<ins></ins>
<hr>
<del></del>
<mark></mark>
<tagname align=”direction”>
<!--example of file upload box-->
<input type="" name="" accept="">
<!--example of three button types-->
<input type="" name="submit" value="submit">
<button type=""></button>

Style Attribute
<tagname style=”property:value;”>
<tagname style=”background:value;”>
<tagname style=”color:value;”>
<tagname style=”font-family:value;”>
<tagname style=”font-size:value;”>
<tagname style=”font-align:value;”>

Marquee Tag and Attributes


<marquee></marquee>
<marquee behavior=”slide”></marquee>
<marquee behavior=”alternate”></marquee>
<marquee behavior=”scroll”></marquee>
<marquee direction=”left”></marquee>
<marquee direction=”right”></marquee>
<marquee direction=”up”></marquee>
<marquee direction=”down”></marquee>
<marquee loop=”number”></marquee>
<marquee scrollamount=”number”></marquee>
<marquee scrolldelay=”second”></marquee>
<marquee bgcolor=”color”></marquee>
<marquee height=”pixel or percent”></marquee>
<marquee width=”pixel or percent”></marquee>
<marquee hspace=”pixel”></marquee>
<marquee vspace=”pixel”></marquee>

TABLES
<table></table>
<tr></tr>
<th></th>
<td></td>
<caption></caption>
<colgroup></colgroup>
<col></col>
<thead></thead>
<tbody></tbody>
<tfoot></tfoot>
<table align=””></table>

You might also like