6/9/20

HTML TAG AND ELEMENT



In the previous article, we studied about the Introduction of HTML. We used a lot of tags in that article. So today in this article we will know what the tags are and along with this, we will also know what the elements in the Html are.




HTML TAGS


In HTML, tags are the element which was surrounded by the 
angular brackets(< >)

These tags are used to do some special work in your HTML webpage.

Ex:-  
  • Paragraph tag (<p> ….. </p>) are used to write some information about the content shown in your webpage. Or if you want to write something in your webpage paragraph tag are used in it.
  •  Title tag (<title> ……. </title> ) are used to give the title of your webpage.
  • Heading tag (<h1> …… </h1>) are used to give heading of your webpage.


In HTML we start and end tags like this:-


  • Start Tags: - Start tags is also known as “Opening Tag” eg:- <p>
  • End tags:- End tags are also known as “Ending Tags” eg :- </p>


Here is the example of some tags….

  • <p> ……………</p>
  • <li> ……………</li>
  • <ul> ………….. </ul>
  • <h1> …………. </h1>



HTML ELEMENTS


An HTML element can be defined by a “starting tag”, “Content”, “Ending tag”.



You can also say that HTML Element is a mix up of (Starting tag + Content + Ending tag) is known as HTML Element. Let’s see an example of the HTML element:-



Example:-



<h1> Example of HTML Element </h1>



Output:-



Example of HTML Element





In this article, you learned about HTML tags and HTML elements. If you have any queries regarding this article you can comment on it or DM on my social media account. If you like the article you can share it with your friends or relatives.  See you in the next articles.


Thanks for Coming

Have a Good Day.



"+y+""}else{if(A==5){c+='
  • '+w+""+y+"
  • "}else{if(A==6){c+='
  • "+w+'
    '+u+""+y+"
  • "}else{c+='
  • "+w+"
  • "}}}}}s.innerHTML=c+=""+y;d.callBack()};randomRelatedIndex=h;showRelatedPost=g;j(d.homePage.replace(/\/$/,"")+"/feeds/posts/summary"+e+"?alt=json-in-script&orderby=updated&max-results=0&callback=randomRelatedIndex")})(window,document,document.getElementsByTagName("head")[0]); //]]>

    0 comments:

    Post a Comment

    Follow on Twitter

    Linkedin

    Categories

    Contact Form

    Name

    Email *

    Message *

    Mad About Computer. Powered by Blogger.
    This site is in no way affiliated with or endorsed by specified business. It exists as a compendium of supporting information intended for informational purposes only. If you want to buy this website, please don't hesitate to contact us via e-mail: "d e n a c c 9 7 7 (at) g m a i l (dot) c o m" (delete spaces) or you can find and buy it on Afternic domain auctions.