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 One in three Americans unsure of retirement stability Cameron Wiggins May 3, 2024 5:39 PM Microsoft partners with OpenAI to catch up in AI race April Isaacs May 3, 2024 5:11 PM Stock futures rise amid fluctuating market conditions Cameron Wiggins May 3, 2024 3:57 PM Social security adjustments forecasted for 2025 April Isaacs May 3, 2024 3:10 PM Are Deceased Social Media Accounts Outnumbering the Living? Kyle Lewis May 3, 2024 2:30 PM Alarm glitch disrupts iPhone users’ routines Cameron Wiggins May 3, 2024 1:18 PM Google spends big to remain Apple’s default search engine Johannah Lopez May 3, 2024 1:00 PM Social Security modifies May benefits payout plan April Isaacs May 3, 2024 11:25 AM Yen depreciation speculated as intentional Japanese move April Isaacs May 3, 2024 11:13 AM USD/JPY plunge sparks market speculation, Fed maintains rates Noah Nguyen May 3, 2024 8:13 AM Social security policy changes impact retiree benefits Rashan Dixon May 2, 2024 5:43 PM Financial anxiety rises among US adults, says AARP study Noah Nguyen May 2, 2024 5:01 PM Game Pass refreshes library with exciting additions Johannah Lopez May 2, 2024 3:25 PM Google’s pixel 8 pro adopts minimalistic camera finish Johannah Lopez May 2, 2024 1:48 PM Apple’s new Beats Solo Buds offer affordable audio quality Rashan Dixon May 2, 2024 1:23 PM Double social security payments expected certain months April Isaacs May 2, 2024 11:57 AM Market anticipates Federal Reserve’s rate decision Rashan Dixon May 2, 2024 11:29 AM Bitcoin remains sturdy amid crypto market turbulence Johannah Lopez May 2, 2024 8:09 AM Binance founder sentenced to prison, steps down as CEO Noah Nguyen May 2, 2024 7:10 AM U.S. stock futures dip, challenging market optimism Rashan Dixon May 1, 2024 5:20 PM Inadequate information delays necessary assistance Johannah Lopez May 1, 2024 5:15 PM June’s social security payments released early April Isaacs May 1, 2024 3:30 PM Financial instability grows among aging Americans Johannah Lopez May 1, 2024 3:27 PM Google improves split-screen mode for Pixel devices Cameron Wiggins May 1, 2024 11:52 AM Apple AirPods Pro now at lowest price on Amazon April Isaacs May 1, 2024 11:44 AM |