Hypertext Markup Language
Hypertext Markup Language (HTML) is the predominant language used to create and publish websites. It is maintained and under constant revision by the World Wide Web Consortium (W3C), a body that develops web standards.
HTML provides a means to describe the structure of text-based information in a document, by denoting certain text as headings, paragraphs, lists, and so on.
How does it work?
HTML consists of various labels, known as tags, saved as a html file which is read and translated by a browser into visual content known as a web page.
What is a tag?
A tag is what is used to format the text, pictures and various items placed onto a web page. They in essence tell the browser what to render on the page. There are different tags for achieving different purposes.
A very simple example
<b>these words will appear bold on the web page</b> where as these words will not.
The tags range from simple formatting tags as shown above to more complex tags that place structure to a web page.
Examples of the most common HTML tags
<hmtl></html>: These tags indicate that a file is written using
HTML.
<head></head>: These tags indicate the beginning and the end of the head section of an
HTML file, which will contain items as
metadata or other informationm such as a reference to the
cascading style sheet (commonly referred to as
CSS) which defines the style formatting of the text.
<body></body>: These tags indicate the beginning and the end of the body section of an
HTML file. The body section contains the data which will be visible when viewing the
HTML file in a
browser.
<p></p>: These tags indicate the beginning and the end of a paragraph.
<h1></h1>: These tags indicate the beginning and the end of a main heading.
<b></b> or <strong></strong>: These tags are used to mark text as bold.
<i></i> or <em></em>: These tags are used to mark text as itallic.
<br>: This tag creates a so-called “soft return” or line break.
See also
External Links