Structured tag: Written, what you want
Even if you write CSS is very simple, you can use CSS to typography, but you really need a way to have some different ways of thinking.
What we are thinking about "This thing is placed here", but the structure of the information in the page, but the structure of the information in the page.
we use
Marks to indicate the most important headlines;
To mark, push them; and paragraphs are put in the mark. This is something we call "Structure Tag" or "Semantic Tag". Your content will not be placed in the form and table element, replacing their DIV elements. Also give your DIV element to arrange an ID or Class, but this is to describe their content or function, not their appearance. Avoid ED and EAKFAST tags and think about why you want an object to appear in a specific way; what does it mean? Your tag must also express meaning, even for those who cannot watch the page. Semantic tags make your page face all audiences more affinity, which also includes search engines. When you set an object to a bevel, it is probably whether you want to emphasize it, or you want to quote the title in a book? If the former should be used; if it is the latter, it is actually used. If an object is marked as bold, it should be marked,. If you want to add a wrap in somewhere, this is probably starting a new beginning. If not start, will it be a class (type) that appears in your site? In both cases, you should replace with CSS. .foo {display: block} Look at your tags Once you analyze the structure of the page, you can start the appearance, analyze the places where your current page code can be converted into structured tags. * As a perfectionist, eliminate all markers and interval gif! * Similarly, one and getting and tag. * Remove those appearance tags in the table (BGColor, Background, etc.). * Changed to those CSS calls (such as) that are purely used to represent the appearance into structured tags. Change the marker of the description to the description of the structure. You can use "Find Addition" (or regular expression), but the best way to open this page in the browser, then paste the text to your HTML editing In the device. The key is to think about the way of structured! Replace only the tag is not enough. Which is the most important entry? use
To mark it. The secondary is used, and this type is pushed. Use to mark the paragraph. Tag navigation strips as unordered lists. Select a DOCTYPE to use. (We recommend XHTML Transitional unless you are a master, don't use XHTML Strict.) Put your page reasonably in the DIV set your main navigation in a DIV, sub-navigation The rules are placed in a DIV of the Subnav. And the footer is similar to this form:
As for the entire page, it is put
inside.
Even now it is not very much, but as long as you start adding rules to the style table, it will immediately become cute.
It's time to start writing CSS yourself.
First, set a boundary to each DIV. For example: div {border: 1px dotted gray; padding: .5em} This can help you see the content inside, and no longer need to be rolled up.
First, write CSS for the defined element (,
,
,
,
,