ARCHIVED: In HTML, what are some common tags?

This content has been archived, and is no longer maintained by Indiana University. Information here may no longer be accurate, and links may no longer be available or reliable.

Some common HTML tags include:

<head></head>
Defines the header of an HTML document
<title></title>
Defines the title of an HTML document. The title appears in the title bar of your browser window.
<body></body>
Defines the body of an HTML document. All of the content that appears on your page goes between these two tags.
<h1></h1> . . . <h6></h6>
Defines section headings. <h1> is the largest section heading and <h6> is the smallest section heading.
<p></p>
Text between these tags will be displayed as a paragraph. Most browsers separate paragraphs with a blank line.
<em></em>
Surrounds text to be emphasized. The text will usually be displayed in italics.
<strong></strong>
Surrounds text to be displayed with strong emphasis. The text will usually be displayed in bold.
<ul></ul>
Surrounds an unordered list. A bullet will precede each list item.
<ol></ol>
Surrounds an ordered list. A number will precede each list item.
<li></li>
Defines an individual item in a list
<a href="http://www.something.edu/"></a>
Defines a hyperlink. Text between these tags will be highlighted. This highlighted text is a link to another web page.
<img src="somepicture.gif">
Inserts a picture into the document

Many more extensive reference guides to HTML tags are available on the web. See ARCHIVED: How can I learn about HTML?

This is document agrf in the Knowledge Base.
Last modified on 2023-09-22 17:09:26.