网页标签(Web tag).docVIP

  • 421
  • 0
  • 约1.69万字
  • 约 27页
  • 2017-07-29 发布于河南
  • 举报
网页标签(Web tag)

网页标签(Web tag) Basic structure tag: HTML, indicating that the file is HTML HEAD contains the title of the file, the script used, the style definition, and so on TITLE/TITLE, which contains the title of the file, appears in the browser title bar /HEAD, HEADs end flag BODY sets all the flags and attributes that display information in the browser, where the contents are displayed in the browser /BODY, BODYs end flag /HTML, HTMLs end flag Other main tags, all of the following signs are used in BODY/BODY: A, HREF=... /A, link flag.,... The address of the file for the link IMG, SRC=... show the picture sign,... The address for the picture BR, line break flag P, segmented flag B/B, using boldface I/I, use italics HR, horizontal draw lines TABLE/TABLE, define tables, important symbols in HTML TR/TR defines the rows of a table for use in TABLE/TABLE TD/TD, defines the cell of the table, used in TR/TR FONT/FONT, font style logo Attribute: Property is used to modify the flag, and attributes are placed in the start flag Example: the property bgcolor= BLACK means the background color is black Examples of reference properties: BODY, bgcolor=, BLACK, /BODY means the background color of the page is black; TABLE, bgcolor=, BLACK, /TABLE indicates the table, and the background color is black Common attributes: Align attributes, range attributes: ALIGN=LEFT, left justified (default), WIDTH= pixel value, or percentage, object width ALIGN=CENTER, centered, HEIGHT= pixel value, or percentage, object height ALIGN=RIGHT, right justified Color attribute: COLOR=#RRGGBB, foreground color, reference color contrast table BGCOLOR=#RRGGBB, background color center means absolute centering table/table the start and end of the form identifier Attribute: The cellpadding= numeric unit is the pixel that defines the distance within the table element The cellspacing= numeric unit is the pixel, which defines the spacing between the tables The border= numeric unit is the pixel, which defines the width of t

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档