Learn HTML
HTML full meaning Hyper Text Markup Language. HTML tags are used to show interface to website viewer. Tags are works with opening tag and closing tag.
How to learn html using this post? Read as usual do practice too. Create a file on your hard disk, file name should be with .html extension. Just write codes and save your html file then open it on your browser it will show you the output.
Paragraph tag
<p>This is Paragraph</p>
Bolt Text using bolt and strong tag
<b>Bold Text </b>
<strong>Strong Text</strong>
Heading Tag to show user heading sub heading, it can be 6 types.
<h1>Heading Tag</h1>
<h2>Heading Tag</h2>
<h3>Heading Tag</h3>
<h4>Heading Tag</h4>
<h5>Heading Tag</h5>
<h6>Heading Tag</h6>
Anchor Tag
<a href=”https://google.com”>Open Google</a>
You have to do four things inside anchor tag that is href, equal, double quotation, target webpage link.
Attribute Tag
inside Anchor tag you can see we used href, this is called attribute. We will now use src attribute for img tag.
Image Tag
<img src=”your-image-link-here.jpg”></img>
This img tag is used to show image on webpages, src is to link the source of image and don’t forget to add .jpg or .png or any other format of image file that you are going to use.
Container Tag
when we use tag inside another tag that is called container tag.
List Tag
There are two type of list tag we usually use one is ordered list and another is unordered list.
Un Ordered List:
<ul>
<li>Egg</li>
<li>Tea</li>
<li>Vegetables</li>
</ul>
Ordered List:
<ol>
<li>Egg</li>
<li>Tea</li>
<li>Vegetables</li>
</ol>
Button Tag
<button>Submit</button>
Input Tag
<input type=”text”>