HTML/CSS from scratch (1)

WBOY
Release: 2016-09-23 03:30:09
Original
1001 people have browsed it

Preparation

2 books: "HTML5 from Beginner to Master" Tsinghua University Press, "Head First HTML and CSS" China Electric Power Press;

1 compiler: sublime;

Several browsers are used to test web pages: Firefox, chrome, 360, IE;

2 main learning websites: MOOC: http://www.imooc.com/, w3school: http://www.w3school.com.cn/h.asp;

Also have a stable heart and be willing to study.

Start learning

1. Initial understanding of HTML and CSS

HTML is the structure of the web page (It is quite a rough house and has not been decorated yet), and CSS is used to define the style (equivalent to decoration); so these two languages ​​together constitute the web page. In fact, the style attribute of the tag in HTML You can also define styles. The HTML structure and CSS are defined as follows:

H & lt; html & gt;

& lt; head & gt; & lt; title & gt; starbuzz coffees & lt;/title & gt;
& lt; style type = "text/css" & gt; ODY {c background-color: #d2b48c;
& lt ;!--Background color-->
                                                                                                                                                                                                                     margin-left: 20%; 10px;

directions
Back to the lounge

Next and second level: name1/name2/target file

First go to the second level and then the next level: ../../next level name1/target file

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template