网页标记语言(Web markup language).docVIP

  • 8
  • 0
  • 约1.5万字
  • 约 26页
  • 2017-07-29 发布于河南
  • 举报
网页标记语言(Web markup language)

网页标记语言(Web markup language) The seventh chapter is web markup language 7.1 HTML language 1. HTML overview HTML (Hyper Text Markup Language, hypertext markup language) is the language of the network, it is through the label (Tag) to describe the display information on the web (such as text, image, sound, animation and other resources), only in a simple text editor according to the fixed format of HTML write the required content can be extended, but the text file name must be HTML or htm. The HTML file written with it can be browsed by anyone on the web. The browser performs the HTML code in an interpreted way and displays the information to the browser. The basic framework of the 2.HTML file The basic format of the HTML file is: HTML Head Title /Title /Head Body H1 /H1 H2 /H2 /Body /HTML Explanation: HTML: the entire document is contained between the tag HTML and /HTML, and most browsers ignore any text and symbols other than the two symbols; ? Head: contains text between markers Head and /Head are some general information about the document, such as title, script, not as a part of the document text itself is displayed; common META embed any additional information; Body: the text contained between Body and /Body is the document body information that is actually seen when the user is browsing; Document title: appears between mark Body and /Body, with mark Hn and /Hn, where n is integer 1~6, specifies the level of the document header, H1 maximum, and H6 minimum. 3. commonly used HTML Tags (1) Head tag Common: meta http-equiv=, Content-Type, content=, text/html, charset=gb2312 - Comment http-equiv: Specifies the header of the HTTP response; content: used to indicate all content related to META Set hyperlinks without underlining, setting font, font size, color, line spacing: style type= text/css A{text-decoration:none} P{font-family: Song typeface; font-size:10pt; color:#333399; line-height:20px;} /style Sets the subtitles on the status bar: script language= JavaScri

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档