answersLogoWhite

0


Best Answer

A start tag will contain the content followed by the end tag The values specify the properties of the attribute which provide additional information about HTML element. For example: the element Font will have an attribute to define the color of the font, and the value will be the color. This information is used in the start tag. This is arial font ="arial" is the value. (Element Attribute= "value"> General values could include size= "2" ( "2" is the value to define the size of the font in pixels) or color = "000000" (="000000" is the value to define the color of the font)

User Avatar

Wiki User

15y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: All tags and its attributes with example in HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How many attributes does the BR tag have in HTML?

The BR tag has only the core tags, which all HTML tags have. These are id, class, style and title.


What is an example of HTML?

Attribute refers to the properties of the HTML elements. For example the element <IMG> is used to display images in a HTML page. This tag has certain attributes like height, width, src etc which specify the properties of the element.


How do tags appear HTML sources?

HTML source code shows the tags that are formed. It is because it is a markup language and all the coding is in tags.


What are 'on' and 'off' tags in HTML documents?

In HTML, all tags are elements and all HTML elements other than empty elements and <p> elements require a start and end tag to delimit the element's content. The <br> tag is an example of an empty element (there is no </br> tag). However, an empty element can also be closed by the start tag, such that <br /> is acceptable (<br /> is a requirement of XHTML but not HTML).


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.

Related questions

How many attributes does the BR tag have in HTML?

The BR tag has only the core tags, which all HTML tags have. These are id, class, style and title.


What is an example of HTML?

Attribute refers to the properties of the HTML elements. For example the element <IMG> is used to display images in a HTML page. This tag has certain attributes like height, width, src etc which specify the properties of the element.


How do tags appear HTML sources?

HTML source code shows the tags that are formed. It is because it is a markup language and all the coding is in tags.


What are HTML tags what are the required HTML tags in creating webpages describe what these tags do?

HTML tags are like containers for content. They tell how the content should be displayed. Tags in HTML should be enclosed with < and >. Most tags consist of an opening tab ie <HTML> and a closing tag ie </HTML>. The proper action is then taken concerning the content in between them. There are many tags that can be used, however very few are required. It is recommended that all HTML pages begin with the <HTML> tag, and end with the corresponding closing tag </HTML>. For example: <HTML> <head> info here is for the browser, not displayed to the user </head> <body> this is where the page content goes </body> </HTML> I've found w3schools to be very helpful in learning HTML. A few other useful tags include: <form></form> (for making forms), <table></table> (for tables, with <tr> and <td> to make rows and columns respectively), <h1></h1> (the largest header), and <p></p> (a paragraph.)


Can you insert a HTML on your profile page on WikiAnswers?

Yes however not all html tags will work.


What are 'on' and 'off' tags in HTML documents?

In HTML, all tags are elements and all HTML elements other than empty elements and <p> elements require a start and end tag to delimit the element's content. The <br> tag is an example of an empty element (there is no </br> tag). However, an empty element can also be closed by the start tag, such that <br /> is acceptable (<br /> is a requirement of XHTML but not HTML).


Which tag is not required for an HTML page?

The only tags needed are the HTML, HEAD, TITLE and BODY tags, with their corresponding closing tags. All other tags can said to be not required, though obviously many of them will be used, as otherwise your page would be very plain.


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.


Is html5 case sensitive?

Actually, it depends on the version of HTML and your browser. The current standard requires you to write HTML tags in lower-case letters. However, many browsers will recognize both <BODY> and <body> as valid HTML tags.


Browsers used for HTML?

All browsers can read html. However, not all tags work the same on all browsers, with some being ignored and older browsers may show pages differently. Some browsers have tags that are designed specifically for them, so they should be avoided in favour of tags that work on all browsers.


In HTML each tag is included within?

In HTML all tags are included within the angled braces "<>" for example the tag to set the font of the text displayed in a web page is the "Font" tag and if you want to use it in your web page you will use it like: <Font> </Font> The Font tag has attributes that you can set in the first set of angled braces <Font> and all the text that is typed until the </Font> tag is encountered.


What are types of different HTML tags?

There are many different html tags. Tags for images, videos, links, formatting just to name a few.