⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 html_head.asp@output=print

📁 W3Schools tutorial..web designing
💻 ASP@OUTPUT=PRINT
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en-US" xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>

<title>HTML Head</title>
 
<link rel="shortcut icon" href="../favicon.ico" type="image/x-icon" />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Keywords" content="xml,tutorial,html,dhtml,css,xsl,xhtml,javascript,asp,ado,vbscript,dom,sql,colors,soap,php,authoring,programming,training,learning,beginner's guide,primer,lessons,school,howto,reference,examples,samples,source code,tags,demos,tips,links,FAQ,tag list,forms,frames,color table,w3c,cascading style sheets,active server pages,dynamic html,internet,database,development,Web building,Webmaster,html guide" />

<meta name="Description" content="Free HTML XHTML CSS JavaScript DHTML XML DOM XSL XSLT RSS AJAX ASP ADO PHP SQL tutorials, references, examples for web building." />

<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="cache-control" content="no-cache" />

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "../../https@ssl./default.htm" : "../../www./default.htm");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-3855518-1");
pageTracker._initData();
pageTracker._trackPageview();
</script>

</head>
<body>

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>


<h1>HTML Head</h1>
<a href="html_styles.asp"><img border="0" src="../images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
<a href="html_meta.asp"><img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>

<hr />

<h2>Examples</h2>

<p><a target="_blank" href="tryit.asp@filename=tryhtml_title">The title of a document</a><br />
The title information inside a head element is not displayed in the browser
window.</p>

<p><a target="_blank" href="tryit.asp@filename=tryhtml_base">One target for all links</a><br />
This example demonstrates how to use the base tag to let all the links on a page 
open in a new window.</p>

<hr />
<h2>The Head Element
</h2>

<p>The head element contains general information, also called meta-information, about
a document. Meta means &quot;information about&quot;.
</p>

<p>You can say that meta-data means information about data, or meta-information means information about information.
</p>

<hr />
<h2>Information Inside the Head Element
</h2>

<p>
The elements inside the head element should not be displayed by a browser.&nbsp;
</p>

<p>
 According to
the HTML standard, only a few tags are legal inside the head
section. These are: &lt;base&gt;, &lt;link&gt;, &lt;meta&gt;, &lt;title&gt;, &lt;style&gt;,
and &lt;script&gt;.&nbsp;
</p>

<p>Look at the following illegal construct:
</p>

<table border="1" width="100%" class="ex" cellspacing="0">
  <tr>
    <td>
      <pre>&lt;head&gt;
  &lt;p&gt;This is some text&lt;/p&gt;
&lt;/head&gt;</pre>
    </td>
  </tr>
</table>
<p>In this case the browser has two options:</p>
<ul>
  <li>Display the text because it is inside a paragraph element</li>
  <li>Hide the text because it is inside a head element</li>
</ul>
<p>If you put an HTML element like &lt;h1&gt; or &lt;p&gt; inside a head element
like this, most browsers will display it, even if it is illegal.</p>
<p>Should browsers forgive you for errors like this? We don't think so. Others
do.</p>

<hr />
<h2>Head Tags</h2>
<table class="ex" cellspacing="0" border="1" width="100%">
<tr>
<th width="25%" align="left" valign="top">Tag</th>
<th width="80%" align="left" valign="top">Description</th>
</tr>
<tr>
<td valign="top"><a href="../tags/tag_head.asp">&lt;head&gt;</a></td>
<td valign="top"> Defines information about the document</td>
</tr>
<tr>
<td valign="top"><a href="../tags/tag_title.asp">&lt;title&gt;</a></td>
<td valign="top">Defines the document title</td>
</tr>
<tr>
<td valign="top"><a href="../tags/tag_base.asp">&lt;base&gt;</a></td>
<td valign="top">Defines a base URL for all the links on a page</td>
</tr>
<tr>
<td valign="top"><a href="../tags/tag_link.asp">&lt;link&gt;</a></td>
<td valign="top">Defines a resource reference</td>
</tr>
<tr>
<td valign="top"><a href="../tags/tag_meta.asp">&lt;meta&gt;</a></td>
<td valign="top">Defines meta information</td>
</tr>
</table>
<br />

<table class="ex" cellspacing="0" border="1" width="100%">
<tr>
<th width="25%" align="left" valign="top">Tag</th>
<th width="80%" align="left" valign="top">Description</th>
</tr>
<tr>
<td width="80" valign="top"><a href="../tags/tag_doctype.asp">&lt;!DOCTYPE&gt;</a></td>
<td valign="top">Defines the document type. This tag goes before the &lt;html&gt; start tag.</td>
</tr>
</table>
<br /><hr />
<a href="html_styles.asp"><img border="0" src="../images/btn_previous.gif" width="100" height="20" alt="Previous" /></a>
<a href="html_meta.asp"><img border="0" src="../images/btn_next.gif" width="100" height="20" alt="Next" /></a>

<p>From <b>http://www.w3schools.com</b> (Copyright Refsnes Data)</p>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -