answersLogoWhite

0


Best Answer

The most obvious disadvantage of the DIV tag is the fact that it doesn't aid in adding semantics to the page.

The DIV tag is a generic holder of content. As such, a parser has no understanding of why that content is being pulled out and place in its own container. For instance, in XHTML, the DIV tag would have been used to surround this question and answer block, allowing the page authors to add CSS styles like a set width and colors.

In HTML 5, we have more specific container tags that make it easier for a parser (like a search engine) to understand the way the page is laid out, and determine what information is important, and what information is secondary.

In this page, and ARTICLE tag would be the best choice to surround this Q&A block. ARTICLE indicates that the content is syndicatable and that it's the primary information on the page. The menus would be added with NAV tags, allowing a search engine bot to recognized what their function was, and act accordingly.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the disadvantages of div tag?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which is the inline analog of the div tag?

The inline analog of the <div> tag is the <span> tag.


Is the 'div' tag part of HTML or XHTML?

The "div" tag is part of both languages.


How can you construct website using div tag?

The <div> tag defines a division or a section in an HTML document. The <div> tag is used to group block-elements to format them with CSS.


How many types of div tag?

Several depending on your need. W3schools has examples of all of the attributes of the div tag.


Can you create div in textarea in HTML?

No you can't. While you can put div tags inside textarea tags, as anything in the textarea is treated only as text, the browser will ignore the div tags and they will show as text only and so have no impact. So if you do want sections for text, you would have to look at other ways of doing it, like having several text areas with different formatting.


What does a div tag do when using Dreamweaver CS3 xhtml and CSS?

The division tag is a "div" and is used to divide a page into sections. A div tag can be used to style a section, and style one or more sections differently than other sections.


What does the prefix div mean?

<DIV> is not a prefix, it is a tag. A DIV element is a container for other HTML elements and is used for positioning and structuring content in the document


Which tags are used in HTML for dividing a page into sections?

DIV tag can be used for dividing the pages and wrapping them. Placing the div tag outside, you can do whatever work inside a section.


How do you move a spry menu bar on dreamweaver?

Copy it into a div tag


What is web design using HTML in div style?

Div tags are elements of web pages. You cannot make a web page using solely a div tag. You would need to do something like: <html> <head> <title>Your HTML Document</title> </head> <body> <div>web page information goes here</div> </body> </html> But there is no real reason to use the div tag except if you want to assign a style to it, in which case you would need to add a style sheet in between the <head> and </head> tag or add a style property to the div tag. You can learn more about web page design by visiting the links provided below.


How do you fetch the data from database inside div tag using aspnet?

fggg


What does leptfe msp div mean?

Leptfe MSP div does not mean anything put together. MSP can mean Michigan Police Department or Minneapolis - St. Paul Airport. DIV is an HTML tag.