Literacy is the equivalent of website

Basic common sense:

 


 

 HTML basic format:

  <!doctype html>

  <html>

      <meta charset="utf-8">

      <title></title>

  <?head>

  <body>

  stuff

  </body>

  <?html>

 


 

We have found, a page requires the following three elements:

          html ----> Layout  

          CSS ----> Style

          JavaScript -> interaction

Will need to know is that with pure HTML also can make a web page, but its huge amount of code, and extremely cumbersome.

Use JavaScript can interact, such as "password."


 

Code literacy

 

Plus some attribute of h1, <h1 align = "center"> </ h1> (position)


 

 Paragraph: The distance between the paragraphs is larger than that between the average line.

 

 


 

Fonts: There are three common attributes color size (<= 7) face

 

 


 

Horizontal <**** / hr> px represent highly representative pixel size color align noshade

 

 


 

Wrap: <br />


 

text:

 

 


 

Special symbols:

Space needs expressed in the code.

 


 

div never own line browser

The size is the size of the span placeholder content

 

 


None / ordered list

 

                   

 

 

 Ordered list will be changed ul ol state property determines the starting position


 

link:

<a></a>

 

 


 

image:

It is a single label

 

 


 

CSS:

 

 

 

 Determinant:

 

 font-size

font-family

 

A simple wording:

 

 


 

Guess you like

Origin www.cnblogs.com/duzetao/p/12329370.html