Introduction To HTML

Introduction To HTML

Lets start HT

What is HTML?

HTML (HyperText Markup Language) is the most basic building block of the Web. It defines the meaning and structure of web content.

Anatomy of HTML

HyperText, A Text with a link enabled that can redirect to documents of information that create a branching or network structure that can accommodate direct, unmediated jumps to pieces of related information in form of web pages.

Markup language, standard text-encoding system consisting of a set of symbols inserted in a text document to control its structure, formatting, or the relationship between its parts.

HTML, in full hypertext markup language, a formatting system for displaying material retrieved over the Internet. Each retrieval unit is known as a Web page (from World Wide Web), and such pages frequently contain hypertext links that allow related pages to be retrieved.

Lets see an example of an HTML Snippet

intro_html_1.PNG

<!DOCTYPE html>

It is an “information” to the browser about what document type to expect.

The lang attribute specifies the language of the element’s content. Common examples are “en” for English and “es for spanish”.

It contains the metadata(information) of the particular web page.

<p>As its name suggested, it is used to add title of that HTML page which appears at the top of the browser window.</p> <body> <p>Text between body tag is mainly visible inside the browser it could contain different tags as well. These tags are placed inside the body tag depending on their use cases.</p> <h1> <p>Text between the h1 tag describes us the first level of heading ,Similarly we can use h2,h3,h4,h5 and h6 depending upon the use cases. Importance of h1 for web browser is more as compared to h2 , h2’s importance is more as compared to h3.</p> <p> <p>Text between p tag describe us the paragraph content</p>