home work assignment | http://forums.thewebhostbiz.com/index.php/build-a-bibliography/ | ohm law lab report What is difference between HTML elements and tags ?
Results 1 to 5 of 5

Thread: What is difference between HTML elements and tags ?

  1. #1

    Default What is difference between HTML elements and tags ?

    What is difference between HTML elements and tags ?

  2. #2
    Join Date
    Jun 2013
    Location
    Forum
    Posts
    1,555

    Default

    Tags are labels you use to mark up the beginning and end of an element. 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.
    Cheap VPS Hosting | $1 VPS Hosting
    Windows VPS Hosting | Windows with Remote Desktop Access
    Cheap Dedicated Servers | Linux Dedicated Server Hosting

  3. #3

    Default

    Quote Originally Posted by RH-Calvin View Post
    Tags are labels you use to mark up the beginning and end of an element. 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.


    Yes, Thanks, I completely agree with you.

  4. #4

    Default

    “Elements” and “tags” are terms that are widely confused. HTML documents contain tags, but do not contain the elements.

  5. #5

    Default

    HTML tags vs. elements vs. attributes
    HTML elements
    An element in HTML represents some kind of structure or semantics and generally consists of a start tag, content, and an end tag. The following is a paragraph element:
    <p>
    This is the content of the paragraph element.
    </p>
    HTML tags
    Tags are used to mark up the start and end of an HTML element.
    <p></p>
    HTML attributes
    An attribute defines a property for an element, consists of an attribute/value pair, and appears within the element’s start tag. An element’s start tag may contain any number of space separated attribute/value pairs.
    The most popular misuse of the term “tag” is referring to alt attributes as “alt tags”. There is no such thing in HTML. Alt is an attribute, not a tag.

Similar Threads

  1. What are meta tags..?
    By ruhikhan in forum Business Tools
    Replies: 16
    Last Post: 05-13-2019, 08:43 AM
  2. Replies: 3
    Last Post: 08-31-2018, 04:23 AM
  3. What is use of ALT-tags in SEO ?
    By ORLOVA in forum Business Tools
    Replies: 9
    Last Post: 04-05-2018, 11:54 AM
  4. What are meta tags..?
    By artijain1900 in forum Business Tools
    Replies: 2
    Last Post: 01-26-2018, 05:32 AM
  5. What is the difference in caching between HTML5 and the old HTML?
    By sinelogixtech in forum Web Design Solutions
    Replies: 1
    Last Post: 08-13-2017, 07:34 PM

Posting Permissions

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