Getting started with CSS -------------------------------------------------------------------------------------------------------------------------------------------------------- ------------------------------ A style sheet consists of style rules to tell the browser how to present a document. There are a lot Add a style rule to the method in your HTML document, but the simplest startup method is the use of HTML's style components. This element is placed in the head section of the document, contains the style rules of the web page. To note that the style element is a test style A good way to table, which has some shortcomings that should be considered before the user use this method. The advantages and disadvantages of different methods are discussed in the section of the HTML. The composition of each rule includes a selector - typically an HTML element, such as a body, p, or a style accepted by the selection. There are a lot of properties to define an element. Each property. With a value, the selector should be rendered. The style rule composition is as follows: Select {Property: Value} Single selector composite style declaration should be separated by a semicolon: Select {Property 1: Value 1; Properties 2 : Value 2} The following is a paragraph of the color and font size attribute defined by H1 and H2 elements: