answersLogoWhite

0


Best Answer

In HTML, all elements (which are delineated by tags) are either contiguous or nested; they cannot overlap.

A nested element is one that is contained inside another element, just as the HEAD and BODY elements are nested inside the HTML element.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

The basis of HTML is the "tag" A tag looks like this:

<p>Tag content</p>

Or sometimes without the closing

<img src="Me.jpg" alt="One Handsome Dude">

Nesting is the process of putting tags inside one another. For instance:

<div>

<p>

Hi There!

</p>

</div>

The important thing to keep in mind is that the tags open and close in the same order. The example above is correct, the one below is incorrect.

<div>

<p>

Hi There!

</div>

</p>

If it helps, you might want to think of nested tags working in the same way as Russian dolls (or "nesting dolls.")

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

A nest tag is any tag (or element) that is surrounded by another element. For instance:

Your paragraph here

In this instance, we would say that the paragraph element is "nested" inside of the div element.

The important part of nesting tags that you need to keep in mind is that tags should always close in the reverse order they were opened in. For instance:

  • List Item Text

NOT:

  • List Item Text

It sometimes helps to think of tags like Russian Nesting dolls. You have to put the innermost doll together before you can put the next doll together.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What do you mean by nesting tags in HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is consistent nesting tags?

nesting the tags in a consistent manner


What are HTML tages?

HTML tags are the predefined tags that are embedded within the "&lt;&gt;". Each HTML tags has the following attributes and operations.


Why use HTML tags?

Tags are the basic rules in HTML like if you wanted to add a dotted list you can use the ul tag and you can add images with the img tag and you can make the image a link by nesting the img inside a link tag but i believe the most useful tag is the div tag


What are built-in tags Like for HTML and CSS?

No tags are used in CSS. Tags are actually what CSS primarily styles.


What is the connection of a notepad with HTML tags?

You can use Notepad to write HTML pages, and HTML consists of tags. So you would be writing a lot of tags when using Notepad to create a HTML page.


What does HTML use tags for?

HTML cannot work without it's tags. It uses tags for it's scripting work.


How do you add HTML to your website?

HTML can be added by adding tags to the code. HTML tags are the ones that cause the view to modify.


What is an HTML webpage?

An HTML webpage is a collection of HTML tags. The tags are arranged in a proper way to create a web page.


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 are the tags in HTML surronded by?

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


What are and used for in HTML?

HTML uses tags for its complete functionality. These tags are defined to do a certain work.


What is the first step to learn HTML?

The first step to learning HTML is leaning tags. The tags form the basic entity for HTML.