Results 1 to 7 of 7

Thread: What is the difference between HTML elements and tags?

  1. #1
    Join Date
    Feb 2016

    What is the difference between HTML elements and tags?

    i want to know What is the difference between HTML elements and tags?

  2. #2
    Administrator Steve R Jones's Avatar
    Join Date
    Apr 2011
    Considering your user name and how its the same as the links in your signature... I'd think you could tell us what the difference is

    But, I Googled your question. Here is one of many hits:

  3. #3
    Junior Member
    Join Date
    Jul 2016
    An element is the basic building block of HTML and is typically made up of two tags: an opening tag and a closing tag.

    For example, the paragraph element <p></p> is made up of the opening tag <p> and the closing tag </p>. The element is the collection of both the starting tag and the ending tag.

  4. #4
    Junior Member
    Join Date
    Nov 2016
    Hii Friends,
    Your que. is good.
    `<p>` and `</p>` are called HTML tags.
    `<p>This is the content</p>` : This complete thing is called a HTML element.

    it is simple difference between html tags and html element.

  5. #5
    Junior Member
    Join Date
    Apr 2017
    For example, we denote H1 tag in html like this <h1>. It is called a html tag.

    And if we give H1 to some title like <h1>Web Design and Development</h1> The whole thing inside this tag is called html elements.

  6. #6
    Junior Member
    Join Date
    Jan 2019
    Mohali India
    An opening and closing of an HTML tag are called as HTML tag. And the entire code bock from starting of the HTML tag to the ending of a tag is called as HTML element.

    HTML tag is just opening or closing entity. For example:

    <b> and </b> are called HTML tags

    <b>This is a blog text</b> this is HTML element.

  7. #7
    Join Date
    Aug 2018
    HTML element is the collection of start tag, its attributes, an end tag and everything in between. On the other hand an HTML tag (either opening or closing) is used to mark the start or end of an element, as you can see in the above illustration.

Similar Threads

  1. HTML tags in VB6 [urgent]
    By riya_here in forum Code Review
    Replies: 6
    Last Post: July 14th, 2004, 04:35 PM
  2. images tags
    By valhallen in forum Site Feedback/Questions/Suggestions
    Replies: 0
    Last Post: July 11th, 2004, 11:57 PM
  3. using html tags sending email
    By y2k in forum Newbie Security Questions
    Replies: 10
    Last Post: October 23rd, 2002, 09:12 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts