# Starting With Html.

**HTML** stands for Hypertext Markup Language. This is used to create a skeleton of a webpage. It has an opening and closing tag such as &lt;tag&gt; &lt;/tag&gt;. Some of them are self-closing tags i.e &lt;br/&gt;, &lt;img/&gt; and more.

A basic website can be built through HTML but it will not have a design and interaction thus it can be fulfilled by using CSS, javascript and other frameworks but being a basic foundation of a website it is important to build expertise in HTML.

A basic structure of an HTML is:

```xml
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
 <!-- Main Content is here -->
</body>
</html>
```

The function of the following default tags are:

1. `<! doctype html>` This is a tag used to describe the document type which is going to be written below i.e HTML.
    
2. `<html lang="en">` This tag is used to describe the language type in HTML i.e English.
    
3. `metadata` This is the data used to tell about the content of HTML data. It is important for SEO (Search Engine Optimization).
    
4. `<title>` Title is used to define the title of an HTML on the browser tab.
    
5. ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1679849939876/69eff53f-4814-4189-a2db-b922212c7ef4.png align="center")
    
    `<body>` The Main content that will be visible on the screen will come here.
    

Besides this, other tags are frequently used in &lt;body&gt; of the HTML i.e `<h1>, <div>, <p>, <hr>,<br>, <table>` with their respective closing tags.

Let's write a basic HTML that will contain &lt;h1&gt;, &lt;br&gt;, &lt;h1&gt;, and &lt;p&gt; tags.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1679850805580/469055c2-9554-45af-b1fd-28fd59af32a8.png align="center")
