Home  >  Article  >  Web Front-end  >  Simple introduction to HTML

Simple introduction to HTML

高洛峰
高洛峰Original
2017-03-27 14:37:221471browse

Commonly usedAttribute:

Width =Width

Height=Height

Size=Size

Color=Color

Align=Layout direction, values ​​include (top,bottom,left,right,center) Top, bottom, left, right, center

Border. =Border size

Title=Prompt text

Href=Connection path

Src=Resource path

Bgcolor=Background color


Commonly used tags:
1.
Line break tag
2.

Paragraph tag
3. Bold display
4. < ;i>Italics
5. Strikethrough
6. Hyperlink tag, href=connection address, Target=whether to open a new page, title=prompt Text
Example:Baidu
7. Scroll label, scrollamount =Scrolling speed, align=Scrolling direction, values ​​include (top, bottom, left, right,) up, down, left and right
Example: Announcement: Start of official operation< ;/marquee>
8. Horizontal line label, size=line thickness, color=line color, width=100%: means that the browser displays full screen
, 100px: means that the browser displays 100 pixels
Example:

 

 


 
 

 

#  ​

  ;
12. Font tag, size=font size, color=font color

Example: <

font

size="+2" color="#990000" >Red No. 5 font


13. CSS style, the following code is a template for defining styles,