HTML stands for "HYPER TEXT MRAKUP LANGUAGE".
"Hypertext" refers to the hyperlinks that an HTML page may contain.
"Markup language" refers to the way tags are used to define the page layout and elements within the page.
Its describes the structure of a web page.
HTML was designed by TIM BERNERS-LEE in 1993.
HTML consists of a series of Elements.
HTML elements are represented by tags.
HTML page extension always be .html
Tag | Description |
---|---|
!DOCTYPE html | Declaration that this document is an HTML5 document. |
Html | This tag is the root element of an HTML page. |
Head | This tag contains meta information about the page. This tag can include a title for the document, scripts, styles, meta information and more. |
Title | The tag contains a title for the page. This tag is required in all HTML documents and it denote the title of the document.More than one title tag in an HTML document is not allowed. |
Body | This tag contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc. |
Element Name | Description |
---|---|
< b > | This is a Physical tag, define bold text. |
< strong > | This is a logical tag, define emphasize the importance of the text. |
< i > | This is a Physical tag, define italic text. |
< em > | This is a logical tag , defines emphasized text, with added semantic importance and also define the italic text. |
< mark > | This is a Logical tag, define a part of the text highlighted for reference purpose. |
< strike > | This is a physical tag , define a strike through or a thin line on the text. |
< u > | This is a Physical tag, define a underline the text. |
< sub > | It defines to displayed the content lightly above to the normal text. |
< sup > | It defines to displayed the content lightly below to the normal text. |
< del > | It defines to displayed the deleted content. |
< ins > | It defines to displayed the content which is added. |
< big > | It define to increase the font size of the text. |
< small > | It define to decrease the font size of the text. |
HTML defines six levels of headings. A heading element implies all the font changes, paragraph breaks before and after, and any white space necessary to render the heading.
The heading elements are H1, H2, H3, H4, H5, and H6 with H1 being the highest (or most important) level and H6 the least. for example
HTML Colors are specified with predefined colors name or with RGB, HEX, HSL, RGBA, or HSLA values.
There are three ways of how you can
change the color of the text in HTML:
● Hex color codesfor example
● HTML color names for example
● RGB valuesfor example
● RGBA valuesfor example
● HSL values for example
● HSLA valuesfor example
Images can improve the design and the
appearance of a web page.
images are defined with the (img) tag.
It is an empty tag, means it does not
have end tag.
HTML links are hyperlinks.
When you move the mouse over a link,
the mouse arrow will turn into a little
hand.
Types of HTML Elements
Block-Level Elements
Inline Element
Learn More
A list is a record of short pieces of
information.
For example:
A shopping list
To-do list
HTML Unordered List
HTML Input
The HTML (input) element is the most used form element.
An (input) element can be displayed in many ways, depending on the type attribute.
Here are some examples: