answersLogoWhite

0


Best Answer

A tag is a declaration of a HTML object whereas an Attribute is a property of an object.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is differences between tags and attribute?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Differences between metadata and attribute data?

Metadata describes the characteristics of data, such as its format, source, and creation date, while attribute data provides specific values and properties of the data, such as the size, color, or location. Metadata is essentially data about the data, providing context and information on how to interpret and use the data, while attribute data is the actual content or values within the dataset.


What are the different kinds of HTML tags attribute?

HTML is a markup language, thus has a number of tags. Some very common tags are <p>,<a><body> etc.


What is the difference between a period and a hash symbol in declaring CSS classes?

Period which specifies to a class using (.) or dot operator Where as hash or # specifies to id of a particular attribute of HTML tags


What is a href code?

href is a Attribute used for the Anchor tags to link a image or line of text to a specific website here's a visual for linking a anchor to a image using and href attribute I hope this helped you understand the href attribute


What are tags between other tags called?

A tag located between other tags is called a nested tag.


How do you do HTML anchor?

The tag for an anchor is just 'a' Anchor tags usually have an href attribute, and often a name and/or target as well.


How are tags represented in HTML code?

tags are represented between for eg. ,


What is the difference between paired Tags n Unpaired tags?

paired tags are those tags which have both opening and closing tagse.g. < body>unpaired tags are those tags which don't have a closing tage.g. < BR >


Between which set of tags does most of the content of your webpage need to be placed?

In most cases, everything except the DOCTYPE declaration will be between &lt;html&gt; tags. The visible content of your page will usually be between &lt;body&gt; tags.


What are the tags in HTML surronded by?

HTML tags are put between &lt;&gt;. Example: &lt;FONT size="2"&gt;


What is the differences between spartial data and attribute data?

Spartial data shows specific location of geographical phenomena in terms of coordinates whilst attribute data is non-spatial in that it does not use coordinates but only show what is on a point, line and polygon. by Wilkins Nyamangunda at Midlands State University(2:1)


How can you explain HTML tags to a person who is a novice to it?

The basic HTML tag has these parts: 1. An opening delimiter, the symbol. A typical HTML tag might look something like this: In this example, the tag is the Paragraph Tag and the attribute says that the paragraph will be centred. The tag starts with an opening delimiter and ends with a closing delimiter. The tagname and attribute are separated with a single space. Attributes are not always necessary and different combinations of these can be used depending on what you want a tag to do. Note in this case the word Center is spelt the American way. Most, but not all, tags have a corresponding closing tag. The closing tag always has a forward slash / inside it before the Tagname. Text between the opening and closing tags are effected by the formatting by the tag. This is bold text. The word bold between the two tags will be bolded while the other words will appear as normal. On the browser the text would look like this: This is bold text. If any attributes appear in the opening tag the closing tag will never include the attributes. For example the opening tag shown earlier will later be closed at the end of the paragraph with a tag. It will not include the Align=CenterWhen creating a tag, separate each element - the tag name and each of the attributes - with a single space. To use an attribute, type the attribute name, followed by an equal sign and the attribute value. Do not put a space between the attribute name, equal sign, or value. If you don't use an attribute, the browser uses the default value for that tag. For example, the default value for paragraph alignment is left. If you use the paragraph tag without the align attribute, the paragraph will be aligned to the left. Some tags stand alone or do not have a closing. For example, you can insert a horizontal line on the page with a single tag, like this: Tags are not case sensitive. For example means the same as ., or will all behave in the same way. There are over 100 tags. However, some Tags do the exact same thing as other tags. For example , and can all be used to do the same thing. is most commonly used.A HTML PAGE The basic template for a HTML Page is as follows: My Page Most of the content of your page is in the BODY section The Document has two main areas, the HEAD and the BODY. The HEAD area contains basic information about your page like the Title or information about the author, the content or for Search Engines to identify the relevance of your Web Page to a search. If TITLE tags are included the text between these will appear in the title bar of the browser. As indicated above most of what you enter in a HTML page will be entered between the and tags. When the page is viewed in a browser, only what is specified in the BODY area will be displayed: My First Web Page Welcome to My Page In the above example only the words Welcome to My Page will appear in the browser when the web page is viewed. They will be bolded and centred. The words between the TITLE tags will appear in the title bar of the web page but not in the page itself. Note also that the tags are closed in the reverse order that they were opened in. This is the standard practice when creating HTML pages. If you see any of the HTML Tags or appearing in the browser, there is an error in your page.