Let's begin with HTML

 Introduction to HTML

first let's see what is HTML ↓
  • HTML is the standard markup language for creating Web pages.
  • HTML stands for Hyper Text Markup Language
  • HTML is the standard markup language for creating Web pages
  • HTML describes the structure of a Web page
  • HTML consists of a series of elements
  • HTML elements tell the browser how to display the content.
Now let's see a simple  HTML code ↓
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>My First Heading</h1>
<p>My first paragraph.</p>

</body>
</html>
Try it Yourself »

HTML Page Structure

Below is a visualization of an HTML page structure:

<html>
<head>
<title>Page title</title>
</head>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
</body>
</html>

Example Explained :

  • The <!DOCTYPE html> declaration defines that this document is an HTML5 document
  • The <html> element is the root element of an HTML page
  • The <head> element contains meta information about the HTML page
  • The <title> This element specifies the title of the web page and visible on browser's top.
  • The <body> This  is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
  • The <h1> element defines a large heading
  • The <p> element defines a paragraph
  • also every html tag starts with <tagname> and ends with </tagname>
so till now we have seen some of the basic tags and elements used in HTML document 

hope you are getting some idea about elements and syntex of HTMl

in the next page we will see editors and the basic requirements for HTML where we can write our basic codes and run our First "Hello World" code , So stay with and have some coffie...

Post a Comment

Previous Post Next Post