HTML stands for Hyper Text Markup Language and is the standard markup language for creating Web pages. It describes the structure of a Web page, telling the browser how to display the content.
Examples of website built only with HTML include: The WWW project, The mother fucking website, Toad Hall e.t.c.
Semantic HTML
HTML semantic elements clearly give the content it wraps meaning to both the browser and the developer. For example and H1
indicates a top level heading on our page. A few semantic elements include nav
, header
, p
, footer
etc.
40 HTML tags
Container tags:
-
html
: Opens and closes an HTML document -
head
: contains information about document -
title
: document title -
body
: contains all visible content of the web page -
p
: defines a paragraph -
div
: container for a block of content -
span
: container for in-line content -
nav
: contains navigation content -
main
: contains the main content of the web page -
header
: contains introductory content for a page -
footer
: contains information about the content on page. e.g the author and a copyright statement. -
td
: defines a cell in a table -
ol
: defines an ordered list -
em
: italicize text -
strong
: bold text -
ul
: defines an unordered list -
li
: defines a list item -
th
: defines table headings -
tr
: defines a table row -
table
: adds a table -
form
: defines a form -
label
: Defines a label for aninput
element -
textarea
: Defines a multiline input control
Empty tags
-
hr
: defines a horizontal line -
br
: defines a line break -
img
: inserts an image -
input
: used to collect user input (text, email e.t.c) -
link
: link external files e.g css styles -
meta
: contains metadata for web pages -
source
: includes external media to page -
area
: defines area inside an image man -
base
: defines abase URL for all URLs in document -
col
: defines column properties for each column within acolgroup
element -
embed
: used for interactive content for external application integration -
wbr
: word break opportunity -
param
: defines parameters for plugins -
track
: defines track to be used with a media file -
command
: define command a visitor can invoke -
keygen
: defines a key-pair generator field that used by forms -
menuitem
: defines a command that a user is able to invoke through a popup menu
Top comments (0)