Skip to main content

Command Palette

Search for a command to run...

Understanding HTML & Tags and Elements .

Updated
2 min read

HTML stands for Hyper text markup language . It is also known as the skeleton of the Web pages .So by noticing this information we get that we use HTML to make web page structured.

HTML tags : html tags are the building blocks of the web pages used for to structure and format content . They guide browser on how to display text ,image link and other media on the web page . Their are some essential tags in html that includes <!DOCTYPE html>,<html>,<head> and <body>. Opening tags are the tags that start elements; and closing tags ends them(/).Mean when we have to use any tag in html first we have to open it by which browser can understand the function and working during the parsing of that element. And their are some tags in the html to whom we have not to close them they are known as the self closing tags. for ex <img> tag <br> tag are self-closing tags. HTML is not case sensitive language mean it do not differ in tags-name in capital and small letter .

HTML elements : HTML elements ate the basic building blocks of a webpages , defining the structure and content using start ,content ,and end tags.

Now lets consider we start working in the HTML how we convey what to do using HTML tags And their are some most common tags in every day tasks lets consider them <H1> tag is the useful for making heading for the page with bigger font size .Then <H2> also for heading with smaller font size as we see that as the H(no) no is increasing the size of heading increasing so H tags go until H6 With smaller text size the <p> tag is for writing the paragraph and <img> tag for image,<br> tag for the line break ,<hr> tag for creating a horizontal line break for the paragraph level ,<scr> tag used to include the source of the document <table> tag for creating the table with <thead> <tbody> and<tr> <td > for row and column of that so they are the important tags that I discussed.