A Web page needs to meet three points: structure (HTML) style (CSS) behavior (JavaScript). Before making a Web page requires a code editor, now with the two editor editplus, sublime, I generally choose sublime this lazy editor-.-。 The most important thing in making a Web page is thinking, good thinking can be done with less effort, and it is easy to write along clear thinking. Be clear about what you are going to do and what the steps are.
Making a Web page is like building a house, first there is a foundation, and the HTML is written like a foundation. HTML writing: To understand the construction of HTML, HTML writing rules, label properties and so on. There are a few points to pay special attention to: Table tags and their attributes, text markers and their properties, links (with absolute and relative paths), form markers, and their properties.
Then the overall framework of the House, commonly used DIV+CSS to implement the framework of the Web page, div tags can be set height, so used to construct the framework. and the DIV tag is special, it has an exclusive line of nature, so it is also used to float (float) Let it float to make the frame more beautiful. CSS is mainly used to give HTML Web page to set the appearance, such as how much text in the page, Text properties, Web page background color, and so on, These appearance of the effect of uniform need to use CSS to set. then use HTML to populate the content. CSS writing: CSS syntax rules, CSS selector selection, CSS properties (special attention to positioning properties, "sub-absolute father", CSS floating and clear floating).
The bottom building of the cottage can be implemented in HTML, but as technology progresses, the underlying building cannot meet the needs. The foundation framework has been completed need to make it practical, so it needs JS to improve, JS equivalent to the house furniture and supplies, more large web page production (high-rise buildings) are generally through the JS to achieve, can save a lot of code writing, especially the appearance of Bootstrap is to make the code of the writing becomes concise. JS is generally used for forms validation, Web page effects, JS writing: To understand the JS code writing and grammar rules, functions of the writing and reference, variables and built-in object concept, and then the output mode.
The most important thing in making a Web page is thinking, good thinking can be done with less effort, and it is easy to write along clear thinking. The construction of a Web page is not an overnight, need to carefully write, patient debugging, so that the page tends to perfect, so that users enjoy the experience of the table.
Create Web pages based on knowledge learned from basic classes