zoukankan      html  css  js  c++  java
  • HTML基本标签

    HTML基本标签;
    
    
    
    http://120.x5.xx8.6:8080/awp/
    
    
    <!doctype html>
    <html lang="en">
     <head>  --页面头部
      <meta charset="UTF-8">
      <meta name="Generator" content="EditPlus®">
      <meta name="Author" content="">
      <meta name="Keywords" content="">
      <meta name="Description" content="">
      <title>Document</title>  --页面标题
     </head>
     <body>
        <center>                ---居中
    
       <h1>欢迎访问我的主页</h1>  --页面正文
       </center>
     </body>
    </html>
    
    
    HTML 注释
    
    <!-- 注释内容-->
    
    <!doctype html>
    <html lang="en">
     <head>
      <meta charset="UTF-8">
      <meta name="Generator" content="EditPlus®">
      <meta name="Author" content="">
      <meta name="Keywords" content="">
      <meta name="Description" content="">
      <title>我的第一个html标签</title>
     </head>
     <body>
      <center>
    
       <h1>欢迎访问我的主页</h1>
       <hr><!--水平线标签>
       <!--我是注释-->
       </center>
     </body>
    </html>
    
    
    HTML 常用基本标签:
    
    <html> //HTML 页面根标签
    
    <title> //页面标题标签
    
    <head> //页面头部标签
    
    <body> //页面体标签
    
    <h>    //标题标签
    
    <p>   //段落标签
    
    
    <a>  //超链接标签
    
    
    
    <!doctype html>
    <html lang="en">
     <head>
      <meta charset="UTF-8">
      <meta name="Generator" content="EditPlus®">
      <meta name="Author" content="">
      <meta name="Keywords" content="">
      <meta name="Description" content="">
      <title>我的第一个html标签</title>
     </head>
     <body>
      <center>
    
       <h1>欢迎访问我的主页</h1>
         <h2>欢迎访问我的主页</h2>
    	   <h3>欢迎访问我的主页</h3>
    	     <h4>欢迎访问我的主页</h4>
    		   <h5>欢迎访问我的主页</h5>
    
       <hr><!--水平线标签>
       <!--我是注释-->
       <p>
         床前明月光,<br><!--br是换行标签,而且是单标签,不需要成对使用-->
    	 疑是地上霜,<br>
    	 举头望明月,<br>
    	 我是郭德纲。<br>
       </p>
    
          <p>
         百日依山尽,<br>
    	 黄河入海流。<br>
    	 欲穷千里目,<br>
    	 更上一层楼。<br>
       </p>
       <ul>
         <li>西游记</li>
    	 <li>水浒</li>
         <li>三国演义</li>
    	 <li>红楼梦</li>
    
        </ul>
    
    	<ol>
           <li>北京</li>
           <li>上海</li>
    	   <li>广州</li>
    	   <li>深圳</li>
    	</ol>
         <!--_blank在新窗口打开-->
    	<a href="http://www.sina.com.cn" target="_blank">新浪网</a>
    
    	<a href="mailto:267020090@q.com" target="_blank">我的邮箱
    	</a>
    
    	<!--图片标签-->
    	<a href="http://www.51cto.com" target="_blank"><img src="images/2.png"></a>
       </center>
     </body>
    </html>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

  • 相关阅读:
    WCF Server Console
    Restart IIS With Powershell
    RestartService (recursively)
    Copy Files
    Stopping and Starting Dependent Services
    多线程同步控制 ManualResetEvent AutoResetEvent MSDN
    DTD 简介
    Using Powershell to Copy Files to Remote Computers
    Starting and Stopping Services (IIS 6.0)
    java中的NAN和INFINITY
  • 原文地址:https://www.cnblogs.com/hzcya1995/p/13350814.html
Copyright © 2011-2022 走看看