answersLogoWhite

0

An opening tag is used to indicate the starting point of an action by a tag. The closing tag shows when to stop this action. The front slash is added to a tag, before the tagname, to indicate that it is a closing tag. What is between the tags is effectively selected for this action. To start bolding for example, we use <b> and to stop we use </b> as follows:

This text is <b> bold </b> text.

The word bold in the above sentence would be bolded, as that is what is enclosed by the opening and closing tags. The text outside of that is as normal.

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Engineering

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 >


Do markup tags come in pairs?

Yes, most markup tags come in pairs, consisting of an opening tag and a closing tag. For example, in HTML, a paragraph is defined with &lt;p&gt; as the opening tag and &lt;/p&gt; as the closing tag. However, some tags, known as self-closing tags (like &lt;br&gt; or &lt;img&gt;), do not require a closing tag and can stand alone.


What are the delimiters for HTML tags?

HTML tags are delimited by angle brackets. A standard HTML tag consists of an opening tag, such as &lt;tagname&gt;, and a closing tag, which is the same name preceded by a forward slash, like &lt;/tagname&gt;. Some tags, known as self-closing tags, do not require a closing tag and are written as &lt;tagname /&gt;. Attributes within the opening tag are separated by spaces and defined with key-value pairs.


How many BODY tags can you have in an HTML document?

One opening tag and one closing tag.Example:Page Content.


What does forward slash mean in HTML?

It is used for closing tags and helps you distinguish it from an opening tag. For a lot of tags you need to know where their impact starts and ends, so you need opening and closing tags. If you wanted to bold one word in the middle of a sentence then you would start bolding at the beginning of it and end bolding at the end of the word. To differentiate the two tags, you need the forward slash, like this. This sentence contains one &lt;b&gt;word&lt;/b&gt; that is bolded. Some tags don't have closing tags, like the br tag. It is now common to put in a slash at the end of those tags like this: &lt;br/&gt;

Related Questions

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 >


Do markup tags come in pairs?

Yes, most markup tags come in pairs, consisting of an opening tag and a closing tag. For example, in HTML, a paragraph is defined with &lt;p&gt; as the opening tag and &lt;/p&gt; as the closing tag. However, some tags, known as self-closing tags (like &lt;br&gt; or &lt;img&gt;), do not require a closing tag and can stand alone.


What are the delimiters for HTML tags?

HTML tags are delimited by angle brackets. A standard HTML tag consists of an opening tag, such as &lt;tagname&gt;, and a closing tag, which is the same name preceded by a forward slash, like &lt;/tagname&gt;. Some tags, known as self-closing tags, do not require a closing tag and are written as &lt;tagname /&gt;. Attributes within the opening tag are separated by spaces and defined with key-value pairs.


What HTML language would you use for links Opening and Closing?

HTML is itself a language on it's own, so uses no other. Opening and closing of tags is a part of HTML.


How many BODY tags can you have in an HTML document?

One opening tag and one closing tag.Example:Page Content.


What is the pair of outermost container tags in a web document?

The outer-most container tags in a web document are the opening and closing HTML tags. For instance: &lt;html&gt; [Web stuff here &lt;/html&gt;


Can you use your language on HTML?

Yes &amp; No! Yes, for text which can be in your language but the opening &amp; closing HTML tags have to be in English letters.


What are self-closing tags in HTML?

Self-closing tags are tags that don't have a "" to close it.These tags include:imginputbrareabasecolembedkeygenlinkmetaparamsourcetrackand wbr


HTML contains 2 tags what are they?

HTML contains many more than 2 tags. Most tags come in a set of 1 opening and 1 closing tag. For example, &lt;html&gt; and &lt;/html&gt;.


What does forward slash mean in HTML?

It is used for closing tags and helps you distinguish it from an opening tag. For a lot of tags you need to know where their impact starts and ends, so you need opening and closing tags. If you wanted to bold one word in the middle of a sentence then you would start bolding at the beginning of it and end bolding at the end of the word. To differentiate the two tags, you need the forward slash, like this. This sentence contains one &lt;b&gt;word&lt;/b&gt; that is bolded. Some tags don't have closing tags, like the br tag. It is now common to put in a slash at the end of those tags like this: &lt;br/&gt;


Are all tags self closing?

No. Most tags are not self-closing. Only the IMG, BR, HR, META, LINK, and INPUT tags are self-closing.


What is an non empty tag?

A non-empty tag is an HTML or XML element that contains content between its opening and closing tags. For example, in the tag &lt;p&gt;This is a paragraph.&lt;/p&gt;, both the opening &lt;p&gt; and closing &lt;/p&gt; tags are present, and the content &quot;This is a paragraph.&quot; makes it non-empty. In contrast, an empty tag, like &lt;br&gt;, does not contain any content between the tags. Non-empty tags are essential for structuring and organizing content in web documents.