HTML Element Reference Guide for Web Developers

2 minute
350 words
Categories:
Web Development
Tags:
Element Description
<!-- --> This is used to add comments in HTML code.
<!DOCTYPE> This is used to defines the document type
<a> This is used to defines a hyperlink
<abbr> Defines an abbreviation or an acronym
<address> Defines contact information for the author/owner of a document
<article> Defines an article
<aside> Defines content aside from the page content
<audio> Defines embedded sound content
<body> Represents the content of an HTML document. There can be only one such element in a document.
<footer> Represents a footer for its nearest ancestor sectioning content or sectioning root element. A <footer> typically contains information about the author of the section, copyright data, or links to related documents.
<h1>, <h2>, <h3>, <h4>, <h5>, <h6> Represent six levels of section headings. <h1> is the highest section level and <h6> is the lowest.
<head> Contains metadata/information for the document
<header> Represents introductory content, typically a group of introductory or navigational aids. It may contain some heading elements but also a logo, a search form, an author name, and other elements.
<hgroup> Defines a header and related content
<hr> Defines a thematic change in the content
<html> Defines the root of an HTML document
<i> Defines a part of text in an alternate voice or mood
<iframe> Defines an inline frame
<img> Defines an image
<input> Defines an input control
<ins> Defines a text that has been inserted into a document
<kbd> Defines keyboard input
<label> Defines a label for an <input> element
<legend> Defines keyboard input
<kbd> Defines a caption for a element
<li> Defines a list item
<link> Defines the relationship between a document and an external resource (most used to link to style sheets)
<main> Specifies the main content of a document
<map> Defines an image map
<mark> Defines marked/highlighted text
<menu> Defines an unordered list
<meta> Defines metadata about an HTML document
<meter> Defines a scalar measurement within a known range (a gauge)
<nav> Defines navigation links
<noscript> Defines an alternate content for users that do not support client-side scripts
<object> Defines a container for an external application
<ol> Defines an ordered list

Previous

Understanding Arrays in C Programming

Next

Open Graph Protocol: Complete Guide for Developers