html 基本标签

HTML 基本标签

Web 服务器工作原理

HTML 注释

HTML 基本标签

http://192.168.32.36:8080/scan/demo.html

scan 表示你的应用资源目录


HTML 注释内容:
<!--注释内容-->


HTML 常用基本标签:

<html> //HTML 页面根标签

<title> //页面标题标签

<head> //页面头部标签

<body> //页面体标签

<h>  //标题标签

<p>   //段落标签

<uL>   //无序列表



1. HTML 5实际指的是包括HTML,CSS 和JavaScript 在内的一套技术组合

用户绘画的canvas元素

<html>   ##首选根标签
<head>   ##head 标签 页面的头部
<title>my demo</title>  ##页面标题
<body>     ##页面体标签

<center>  ##正文居中
<h1>welcome to join us </h1>  ##正文 h1标签字体最大
</center>
</body>
</head>

</html>  ##结束标签

访问:

http://192.168.32.36:8080/demo.html



<html>  
<head>   
<title>my demo</title>  
<body>     

<center>
<h1>welcome to join us </h1>  
<!--我是注释-->
<h2>welcome to join us </h2>
<h3>welcome to join us </h3>
<hr><!--hr 水平线标签-->
<p> <!--p段落标签-->
<!--br标签 而且是单标签-->
   床前明月光,<br>
   疑是地上霜。<br>
</p>

<p>
   白日依山尽,<br>
   黄河如海流 <br>
</p>
<ul>
<!--ul无序列表标签-->
<!--li列表项标签-->
<li>西游记</li>
<li>水浒</li>
<li>三国演义</li>
<li>红楼梦</li>
</ul>
<ol>
<!--ol有序列表-->
<li>北京 上海 <li>
<li>广州 杭州 <li>
</ol>
<!--a href 文本超链接-->
<a href="http://www.sina.com.cn">新浪网</a>
<!--新窗口打开-->
<a href="http://www.sina.com.cn" target="_blank">新浪网</a><br>
<a href="mailto:267020090@qq.com">管理员邮箱地址</a>
<!--图片标签-->
<img src="images/scan.jpg"/>
<!--图片超链接-->
<a href="http://www.51cto.com" target="_blank"><img src="images/scan.jpg"/></a>


</center>
</body>
</head>

</html>


h1 到h6 标签




















原文地址:https://www.cnblogs.com/hzcya1995/p/13350904.html