Results 1 to 8 of 8
  1. #1
    Senior Member
    Join Date
    Apr 2015
    Posts
    134

    Lightbulb What is the difference between HTML elements and tags ?

    HTML elements communicate to the browser how to render text. When surrounded by angular brackets <> they form HTML tags. For the most part, tags come in paris and surround text.

  2. #2
    Registered User 24x7servermanag's Avatar
    Join Date
    Jul 2017
    Location
    India
    Posts
    1,022
    An element in HTML represents some kind of structure or semantics and generally consists of a start tag, content, and an end tag.

    Tags are used to mark up the start and end of an HTML element. A start tag consists of an opening angle bracket (<) followed by the element name, zero or more space separated attribute/value pairs, and a closing angle bracket (>).
    Server Management Company
    India's Leading Managed Service Provider | Skype: techs24x7
    Cpanel Technical Discussions - Lets talk !

  3. #3
    Registered User
    Join Date
    Sep 2017
    Location
    ghaziabad
    Posts
    280
    HTML ELEMENTS-The html element is the individual component of the html document or web page, once this has been parsed into document object model. It is composed of tree of html node.

    TAGS-Tags are use to markup the start and end of the html elements. A start tag consist of opening angle bracket and end tag is used for closing angle bracket. These tags are hidden keywords within a web page that will define how your web browser format must display.

  4. #4
    Junior Member
    Join Date
    Mar 2018
    Posts
    3
    Elements are things on the website that you see all the time, like headers or paragraphs or pictures... (you can simply see it as visible things that appear on a page)
    And Tags look like this a paragraph for example <p>...</p> (normally you can't see those weird things on your pages)

  5. #5
    Registered User
    Join Date
    Jan 2018
    Posts
    400
    An element in HTML represents some kind of structure or semantics and generally consists of a start tag, content, and an end tag.

    Tags are used to mark up the start and end of an HTML element. A start tag consists of an opening angle bracket (<) followed by the element name, zero or more space separated attribute/value pairs, and a closing angle bracket (>).

  6. #6
    Senior Member
    Join Date
    Nov 2015
    Location
    United Kingdom
    Posts
    245
    Generally speaking, there are two kinds of tags - opening tags: <html> and closing tags: </html> . The only difference between an opening tag and a closing tag is the forward slash "/". You label content by putting it between an opening tag and a closing tag. HTML is all about elements.

  7. #7
    Junior Member
    Join Date
    Mar 2018
    Location
    Ahmedabad
    Posts
    4
    HTML tag is just opening or closing entity. For example:

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

    HTML element encompasses opening tag, closing tag, content (optional for content-less tags) Eg:

    <body>This is the content</body> : This complete thing is called a HTML element

  8. #8
    Registered User
    Join Date
    Sep 2017
    Posts
    1,174
    HTML element is the collection of start tag, its attributes, an end tag and everything in between.
    HTML tag either opening or closing is used to mark the start or end of an element.

Posting Permissions

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

  Find Web Hosting      
  Shared Web Hosting UNIX & Linux Web Hosting Windows Web Hosting Adult Web Hosting
  ASP ASP.NET Web Hosting Reseller Web Hosting VPS Web Hosting Managed Web Hosting
  Cloud Web Hosting Dedicated Server E-commerce Web Hosting Cheap Web Hosting


Premium Partners:


Visit forums.thewebhostbiz.com: to discuss the web hosting business, buy and sell websites and domain names, and discuss current web hosting tools and software.