HTML is a lot of markup, an HTML Help document is very necessary!
The header element of HTML is marked with
The information provided by the META element is not visible to the user, it is not displayed on the page, and is typically used to define the name, keywords, author, etc. of the page information. There are two types of properties: Name and Http-equiv, where the name attribute is used primarily to describe web pages, making it easy for search engines to find and categorize.
1 <!DOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd ">2 <HTMLxmlns= "http://www.w3.org/1999/xhtml">3 <Head>4 <Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" />5 <Metahttp-equiv= "Refresh"content= "Jump time; url= link Address" />by default, the jump time is in seconds6 <Metahttp-equiv= "Expires"content= "Time Expires" />7 <Metahttp-equiv= "Cache-control"content= "No-cache" />8 <Metahttp-equiv= "Set-cookie"content= "Time Expires" />9 <Metahttp-equiv= "Windows-target"content= "_top" />Ten <Metahttp-equiv= "Transition event"content= "Revealtrans (duration= transition Duration, transition= transition mode)" />the duration of the transition effect is the default in seconds One <Metaname= "keywords"content= "Specific keywords" /> A <Metaname= "description"content= "Description Language of the page" /> - <Metaname= "Generator"content= "Name of the editing software" /> - <Metaname= "Author"content= "Author's name" /> the <Metaname= "Robots"content= "Search Method" /> - <title>Untitled Document</title> - </Head> - + <Body> - </Body> + </HTML>
HTML pages can convert all relative URLs in the current HTML page to absolute URLs through the base URL. <base href= "link Address" target= "new window opening mode" >
<body> element Properties: Text sets the color of the page text, bgcolor sets the color of the page background, background setting the background image of the page, bgproperties setting page background image is fixed, does not scroll with the page scrolling; Link to set the default links color of the page, ALink set the mouse is the link color when a single machine, Vlink set the link color after the visit, TopMargin set the top margin of the page, LeftMargin set the left margin of the page.
HTML learning Note (ii) HTML basic markup