What is HTML?

HTML is stand for HyperText Markup Language. Its used to creating webpages or website.
Actually HTML is a set of command which is used to how a webpage is display on a browser.

wikipedia says:
Hypertext Markup Language (HTML) is the standard markup language for creating web pages and web applications. With Cascading Style Sheets (CSS) and JavaScript, it forms a triad of cornerstone technologies for the World Wide Web.

Example:

<!DOCTYPE html>
<html>


<head>
<title>Page Title</title>
</head>
<body>

<h1>This is HTML</h1>

</body>
</html>



Explain:

  • The <!DOCTYPE html> declaration defines this document to be HTML5
  • The extension of HTML file is .html 
  • The <html> element is the root element of an HTML page
  • The <head> element contains meta information about the document
  • The <title> element specifies a title for the document
  • The <body> element contains the visible page content
  • The <h1> element defines a large heading

No comments

Powered by Blogger.