HTML Introduction | Basics

You are currently viewing HTML Introduction  | Basics
  • Post author:
  • Post last modified:April 18, 2019
  • Reading time:2 mins read

HTML:

-HTML is the abbreviation of hypertext markup language.
-Make the structure of Web pages using markup.
-HTML elements of HTML pages are like the building blocks.

How to work?

Write the code in the text editor and open on the browser.
The browser renders and shows the results on the web page according to the code

Example: Paragraph

<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
  • The <!DOCTYPE html> declaration defines this document to be HTML5
  • 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
  • The <p> element defines a paragraph

 

Ayat UR Rehman

I'm a self-taught programmer and professionally studying Accounting and Finance. I love blogging to explore the world. It gives a chance to learn several things from different systems.

Leave a Reply