Home  >  Article  >  Web Front-end  >  How to learn DIV CSS_html/css_WEB-ITnose from scratch

How to learn DIV CSS_html/css_WEB-ITnose from scratch

WBOY
WBOYOriginal
2016-06-24 12:27:341070browse

CSS is a style, DIV is a layer. DIV CSS is a website standard (web standard), usually to illustrate the difference from the table positioning method in the HTML web design language. Because of XHTML website design In the standard, table positioning technology is no longer used, but DIV CSS is used to achieve various positioning.

1: Learn the HTML language, and then learn DIV CSS with ease.

If you understand HTML syntax, you can see through 80% of the websites in the world. The HTML language is easy to learn, and you must memorize some commonly used codes. Because of tools like Dreamweaver that help generate HTML code, many people ignore the learning of HTML. After learning the most basic language in the Internet, HTML, When learning DIV CSS, you will find: It turns out that DIV CSS is just like that, a piece of cake.

Recommended website: HTML online learning website: http://www.w3school.com.cn/html/html_intro.asp

2. Use Dreamweaver’s code mode to write DIV and CSS.

For beginners in web design, it is difficult to write code directly using Notepad, Notepad and other tools. Because Dreamweaver's code mode has a prompt function, it can ensure the correctness of the syntax written. And you can write unfamiliar grammar correctly at once.

As shown in the figure: the functions provided by DW when writing div and html.

The CSS visual editing function on the right side of the DW toolbar when writing CSS.


I learned DIV CSS from Dreamweaver What I learned from coding patterns may not be the best, but it is very practical.

Recommended website: CSS online learning website: http://www.w3school.com.cn/css/

3: Develop good writing habits.

Yes Good living habits indicate that the person is good at living, and good CSS writing habits indicate that the person is rigorous in doing things. There are many recommended specifications on the Internet when writing CSS, such as menu for menu, copyright (CoryRight) for copyright, footer for bottom, etc. The writing order is generally: display attribute-self attribute-text attribute. Of course, there are no hard and fast rules for these, but it is not a bad thing to follow some unwritten rules. This will make the code you write easier for others to understand, and search engines will like it more.

4: Only when the purpose is clear and the results are clear, the process will be the most efficient and will not be easily disturbed or changed in direction.

CSS DIV web page style and layout proficiency video tutorial: http://pcedu.pconline.com.cn/videoedu/ztsp/0904/1618470.html

http://www.aa25.cn/div_css/535.shtm

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn