I refer to the DoYouDo HTML tutorial, the code is in the video, this is the link https://space.bilibili.com/20503549/#/channel/detail?cid=42234
1.html
1 <!DOCTYPE HTML>2 3 <HTML>4 5 <Head>6 <Metaauthor= "NCO">7 <title>8 NCO9 </title>Ten <Linkrel= "stylesheet"type= "Text/css"href= "Master.css" /> One A </Head> - - <Bodystyle= "Background-color:powderblue;"> the - <Header><nav> - home About Us tutorials - </nav></Header> + - <ahref= "http://www.w3school.com.cn"><H1>Welcome to W3school.</H1></a> + <formAction= "/action_page.php"> A First name: at <inputtype= "text"name= "FirstName"value= "Mickey"/> - <BR/> - - Last Name: - <inputtype= "text"name= "LastName"value= "Mouse"/> - <BR/><BR/> in <inputtype= "Submit"value= "Submit" /> - <Buttontype= "button"onclick= "alert (' Hello world! ')">Click me!</Button> to </form> + - the <BR><HR> * <imgsrc= "Http://www.pujia8.com/static/pics/20171203040045_59.jpg"width= "$"> $ <Div>Panax Notoginseng <P>about four years ago, I was in the daytime in a "tall" public institutions to work hard, evening work in the staff dormitory research with AE do special effects, do animation, do these things I am interested in. Roommates usually watch a play, call a girlfriend, or listen to Andy Lau's song. I was so excited when I made an effect, but everyone was not care, which was normal. - <BR> the <HR> +At that time I began to realize that there were many great gods in the world who were selflessly sharing tutorials, such as AE great god Andrew Kramer, Blender's great god Andrew Price, c4d gorilla Nick and so on. The ideas, passions, ideas, and humor of these people are a shock to my Chinese-educated turtle. I like chasing the United States play their tutorial, not because of how much motivation to learn, but simply feel good-looking, like you have seen for many years-law soap opera, suddenly found that the TV can actually like "prison escape" like "Life Poison division" as good-looking.</P> A <H2>About copyright</H2> the + <ol> - <Li>All the paid content of this site is<span>DoYouDo</span>Exclusive copyright and final interpretation rights.</Li> $ $ <Li>Unauthorized use of DoYouDo logo and design content, recording of course videos using video recorder software and other means, downloading course content illegally through technical means, uploading course content to web-based or other platforms, disseminating course content through the Internet, sharing DoYouDo paid accounts with others and illegally profiting from them. DoYouDo will permanently freeze the illegally-shared accounts and carry out legal and economic prosecutions and lawsuits for all of the above violations without compromise.</Li> - - <Li>Only when copyright is protected will more outstanding works appear. We hope that we will respect the fruits of our labor, respect copyright, together let our copyright environment more and more good.</Li> the - Wuyi </ul> the </Div> - Wu <spanclass= "TW">1111</span> - <spanID= "both">2222</span> About </Body> $ - </HTML> -
Master.css
1 . TW {2 font-size: 40px; 3 color: red; 4 }
Note.txt
CSS Selector {
Property Name: property value;
}
<style> Tags:
<link> Tags:
How to select an element
Element: Label
#id: Use ID, plus #, you can't duplicate the name
. Class: Similar to ID, can duplicate name
*: Select all elements
Element,element: Multi-tab and modify CSS
Element element: Modification of a label and its sub-tags
Element>element: Same as above, but only sub-generation tags are searched
HTML with video preliminary (8.24)