unit--2

HTML basis --- four instances

HTML title:

HTML title is obtained by <h1> - defined <h6> tag

E.g:

< H1 > This is a title. </ H1 > 
< h2 > This is a title. </ H2 > 
< h3 > This is a title. </ H3 >

HTML paragraph:

HTML paragraph by <p> defined.

< P > This is the first paragraph </ P > 
< P > This is the second paragraph </ P >

HTML link:

HTML tags are defined by <a> link.

Tip: href attribute specifies the address of the link.

< A the href = "http://www.runoob.com" > This is a link </ A >

HTML image:

The image is defined by HTML <img> of.

Tip: name and size of the image in the form of property offered.

<img src="/images/logo.png" width="258" height="39" />

 

Guess you like

Origin www.cnblogs.com/hanouba/p/11587223.html