Today's learning content is broadly divided into two parts: 1. The making of Tian Zi ge 2. Some new commands that are exposed during the editing of the article paragraph include:<border> borders, <margin> outline, <padding> padding, break, < > spaces, <border-radius> fillet, <text-indent> indent.
1. Tian GE code details
<title> Tian Zi ge </title>
<style>
#all {
width:450px;
height:450px;
/* Outer margin */
margin:0px Auto;
}
. a{
width:200px;
height:200px;
Background-color: #00FF00;
Float:left;
margin:10px;
} </style>
<body>
<div id= "All" >
<div class= "A" id= "first" ></div>
<div class= "A" id= "second" ></div>
<div class= "A" id= "third" ></div>
<div class= "a" id= "fourth" ></div>
</div>
</body>
By creating a small div in a large div, control the small div floating in the large div to reach the field, and then by adjusting the <nargin> of the big Div, you can adjust the location of the field in the Web page.
2. Editing of article passages
The article paragraph and the article title is established in the <body>, may use the different font size
But this form of creating a paragraph does not generate a space indent before the paragraph, you need to enter the < > command before the paragraph this represents a space, or you can edit <style> command input in
Today's learning personal feeling more relaxed and interesting, to learn in the operation of the extrapolate, there will be a great improvement, hope in the next study, continue to maintain a good state.
16-11-08