DIV Layout Page
The div tag is a block-level entity that determines a section inside a web-page. DIV tags formats the structure of documents. Developers put div tag to write web-content that cannot be clearly written by other more semantic tags. When the semantic meaning are not clearly understandable of other block-level elements, developers usually put bunch of div tags than are necessary.
Div-based structures grasp a much steeper wisdom curve than table-based structures.
The developer must grasp style sheet and understand the alteration between block-level basics and inline elements, while to use floats and when to use firm positioning and how to solve browser bugs. Inscription semantic code usually reduces the code starting point; and less DIV tags by means of floats helps keep browser bugs away. The div tag is for commonsensical groupings of elements. DIV tags must only be worn to build construction and as placeholders for design fundamentals when no extra block-level elements can tell the web-content.
Too lots of DIV tags is code smell that subject matter isn't being described as it must. It means DIV tags are core used once semantic block-level tags would better explain the content; for request, headings should be wrapped in h1 to h5 tags. The prevalent problem including div tags is that they are second-hand too often. Copy semantic code usually reduces the code stand; and less DIV tags as well as floats helps keep browser bugs away. DIV tags ought to only be worn to build shape and as placeholders for design basics when no new block-level elements can express the content.
The prevalent problem and div tags is that they are old too often. The developer duty know CSS and work out the difference stuck between block-level elements and inline rudiments, when to use floats and once to use absolute positioning and how to answer browser bugs. Div-driven structures have a to a large extent steeper learning curve than table-based structures. Too lots of div tags is code smell that happy isn't being described as it must. It means DIV tags are creature used as semantic block-level tags would better express the content; for case, headings should be wrapped in h1 to h5 tags. The div tag is for commonsense groupings of elements.