Question:

Modern Websites: <div>?

by Guest34269  |  earlier

0 LIKES UnLike

So i know that people are not using tables anymore, but using div, do you do the WHOLE layout by using div tags? or are there other tags that help with the website layout, besides the background.

In dreamweaver there are 2 div types, what is the difference between these two?

Thanks.

 Tags:

   Report

1 ANSWERS


  1. You don&#039;t do layout in &lt;div&gt; tags. You do layout in CSS. &lt;div&gt; and &lt;span&gt; tags are just empty shells for applying CSS layout to (&lt;div&gt; for division, ie. block-level elements; and &lt;span&gt; for spanning, ie. inline elements). You use either a class or an id on the tag to relate it to a CSS class or id descriptor.

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions