DEV Community

Raksha
Raksha

Posted on

Day 1 of Learning HTML

Hi Guys, this is my day 1 of learning HTML from scratch. Today i learned some basic things in HTML like *What is HTML? ,Structure of HTML , Heading tags in HTML. *

What is HTML?

  • HTML stands for Hypertext Markup Language.
  • HTML is used to create the web pages.
  • HTML is gives the structure to the webpage.
  • We can also call the HTML as Skeleton of our webpage.

Structure of HTML:

  1. <DOCTYPE html>: This DOCTYPE html is always written in the first line of the HTML Document. It is used to tell the browser that, it is a HTML document.

2.<html>: This <html> is the root element in the HTML page. Every other tags are present inside this <html> tag only.

3.<head>: The tag contains the all the meta information about the webpage and the some tags like <title> and <style>.

4.<meta charset="UTF-8">: It tells the browser to use UTF-8 encoding. The UTF-8 supports all the languages, symbols and used to display the content properly.

5.<title>: This <title> is used to used to display the title for the webpage on the browser.

6.<body>: The <body> tag contains all the visible content in the webpage. Whatever the things which are visible in the webpage are written inside this <body> tag.

Heading Tags in HTML:

  • The size of the heading tag is starts from h1 to h6.
  • h1 is the highest level heading, it is displayed in larger size in the browser. it is used for heading or title of the webpage.
  • h6 is the least level heading , it is displayed in smaller size in the browser.

Bye guys..
Stay tuned for Day 2!

Top comments (1)

Collapse
 
arokiya_kithiyon_1f2bad36 profile image
Arokiya Kithiyon

Nice