Click on a particular category of tags to jump directly to it, or browse the full reference list.
Note: In older versions of HTML, some tags did not require ending tags. With the emergence of XML and XHTML, you should be sure to include both beginning and ending tags.
Document | Images | Forms | Basic Text | Imagemaps | META Tags | Lists | Tables | Style Sheets | Links | Frames | Special Characters |
Structure Tags | |||
Function | Start Tag | Attributes | End Tag |
HTML File | none | ||
File Header | none | ||
File Title | none | ||
Comments | |||
Body | background=”filename” bgcolor=”color value” text=”color value” link=”color value” vlink=”color value” | ||
Division | align=”right/left/center” style=”property:value;” class=”classname” | ||
Span (inline) | style=”property:value;” class=”classname” |
Basic Text Tags | |||
Function | Start Tag | Attributes | End Tag |
Line Break | clear=”left/right/all” | or | |
Paragraph | align=”center/right” | ||
Bold | none | ||
Italic | none | ||
Typewriter Text | none | ||
Headline | align=”center/right” | ||
Font | face=”name, name” size=”+/-value/fixed size” color=”color value” Note: the font tag is being phased out in favor of CSS styles. | ||
Horizontal Rule | size=”XX” width=”XX/XX%” noshade | or | |
Block Quote | none | ||
Division | align=”left/center/right” |
List Tags | |||
Function | Start Tag | Attributes | End Tag |
Unordered List | type=”disc/circle/square” | ||
Ordered List | type=”I/A/1/a/i” start=”value to start counting at” | ||
List Item | type=all ul and ol options | ||
Definiton List | none | ||
Definition List Item | none | ||
Definition List Definition | none |
Link Tags | |||
Function | Start Tag | Attributes | End Tag |
Anchor Link | href=”filename” target=”windowname” | ||
Anchor Mark | name=”markname” | ||
Image Tags | |||
Function | Start Tag | Attributes | End Tag |
Insert Image | src=”filename” align=”left/right” width=”XXX” height=”XXX” alt=”text that desribes image” ISMAP USEMAP=”#mapname” |
Client-side Imagemap Tags | |||
Function | Start Tag | Attributes | End Tag |
Define Map | name=”mapname” | ||
Area Definition | shape=”rect/circle/poly/point” coords=”X,Y,X,Y” href=”imagename” |
Table Tags | ||||
Function | Start Tag | Attributes | End Tag | |
Table |
| |||
Table Row | ||||
align=”left/center/right” valign=”top/middle/bottom” bgcolor=”color value” | ||||
Table Data | align=”left/center/right” valign=”top/middle/bottom” width=X nowrap colspan=”X” rowspan=”X” bgcolor=”color value” | |||
Table Header | align=”left/center/right” valign=”top/middle/bottom” width=X nowrap colspan=”X” rowspan=”X” bgcolor=”color value” | |||
Caption | align=”left/center/right” valign=”top/middle/bottom” |
Frame Tags | |||
Function | Start Tag | Attributes | End Tag |
Set Frames | cols=”XX/XX%/*” rows=”XX/XX%/*” | ||
Frame Definition | src=”filename” name=”framename” noresize scroll=auto/yes/no marginwidth=”XX” marginheight=”XX” | ||
Base | target=”framename”/ “_self”/ “_top”/ “_parent” (Note the underscores) | ||
No Frames | Between start and end tags, place the content that appears when a non-frames browser loads this page. |
Form Tags | |||
Function | Start Tag | Attributes | End Tag |
Form | method=get/put action=”programname” | ||
Input Field | name=”variablename” type=text/password/ checkbox/radio/submit/ reset/image | ||
Selection List | name=”variablename” size=XX multiple | ||
Selection Option | none | ||
Scrolling Text Field | name=”variablename” rows=XX cols=XX |
Meta Tags | |||
Function | Start Tag | Attributes | End Tag |
(Server metatags) | http-equiv=”refresh” content=”seconds, filename” | none | |
(Content metatags) | name=”keywords/description/author/ generator/abstract/expiration” content=”your information” | none |
Style Sheet Tags | |||
Function | Start Tag | Attributes | End Tag |
Style Definition Area | type="text/css"> Style declarations go between begin and end style tags | ||
Link to external CSS File | rel=stylesheet type=”text/css” href=”URL” | none |
Commonly-Used Special Characters | ||
Name | Symbol | HTML Equivalent |
ampersand | & | & |
cent sign | About Our Editorial ProcessAt DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere. See our full editorial policy. About Our JournalistCharlie Frank Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience. View Author Embracer Group splits into three, boosts efficacy Johannah Lopez April 23, 2024 1:58 PM Predicted 2025 COLA sees modest growth Noah Nguyen April 23, 2024 1:50 PM Unexpected eviction unsettles Indianapolis businesses Cameron Wiggins April 23, 2024 11:46 AM Final April disability payment scheduled for release Johannah Lopez April 23, 2024 8:08 AM Social Security amends SSI eligibility for 2024 Johannah Lopez April 23, 2024 8:01 AM Silver tsunami presents opportunity for young entrepreneurs Johannah Lopez April 23, 2024 8:00 AM Unexpected eviction disrupts Indianapolis businesses Cameron Wiggins April 23, 2024 7:51 AM Embracer Group restructures into three entities April Isaacs April 23, 2024 7:07 AM Mercedes-AMG unveils powerful, innovative 2025 GT 63 S E Performance Johannah Lopez April 22, 2024 5:45 PM Google poised for notable organizational changes Johannah Lopez April 22, 2024 5:29 PM Merging Catholic faith with entrepreneurial education April Isaacs April 22, 2024 3:59 PM AI entrepreneur raises $13.8 million via LinkedIn April Isaacs April 22, 2024 3:35 PM Why ChatGPT Is So Important Today Grace Phillips April 22, 2024 3:07 PM How Tech Advancements and Tools Have Enhanced Business Kyle Lewis April 22, 2024 2:22 PM Mountain biking’s technological advances highlighted in 2024 event Johannah Lopez April 22, 2024 1:22 PM St. Louis mourns closure of cherished local establishments Noah Nguyen April 22, 2024 1:05 PM Anker’s PowerHouse 90: high-capacity, versatile charger now discounted Noah Nguyen April 22, 2024 8:06 AM Marketing executives embracing entrepreneurial approach for growth April Isaacs April 22, 2024 7:42 AM Arcana: Overcoming challenges to thrive in San Francisco Cameron Wiggins April 22, 2024 7:03 AM Anticipating Bitcoin’s halving: impacts and strategies Rashan Dixon April 19, 2024 5:39 PM Nothing startup integrates ChatGPT into devices Rashan Dixon April 19, 2024 5:06 PM Google Maps enhances search for EV charging stations Cameron Wiggins April 19, 2024 1:28 PM Upcoming social security payments scheduled by birth dates Rashan Dixon April 19, 2024 1:07 PM Retirees to receive double Social Security payments soon Noah Nguyen April 19, 2024 11:59 AM Proposed Act Aims to Adjust Social Security for Seniors Rashan Dixon April 19, 2024 8:33 AM |