Thursday, 20 April 2017

What is HTML (HyperText Markup Language)?

In this post, I will explain about HTML (HyperText Markup Language).

HTML stands for HyperText Markup Language. Every webpage is written in a language called HTML. We can think HTML as the skeleton that gives every webpage structure. HTML is the standard markup language for creating Web pages. It describes and defines the content of a webpage. HTML elements are represented by tags. Browser is using HTML tags to render the content of the page. The browser did not display HTML tags.

Example - 

<!DOCTYPE html>
<html lang="">
<head>
    <title>This is Page Title</title>
</head>
<body>
  This section is for content of page
</body>
</html>

In the above example, we can see different tags.
1. <!DOCTYPE html> is an instruction to the web browser about the version of markup language
2. <html> element is the root element of an HTML page
3. <head> element provides general information (metadata) about the document, including its title and links to its scripts and style sheets
4. <title> element specifies a title of a page
5. <body> element represents content of an HTML page

0 comments:

Post a Comment

Please do not enter any spam link in the message box.