Home >Backend Development >PHP Tutorial >Learning PHP process record (3) - Common tags 2

Learning PHP process record (3) - Common tags 2

WBOY
WBOYOriginal
2016-08-08 09:30:13914browse
<html>
	<head>
		<title> 文本标签 </title>
	</head>

	<!-- 在网页中,为了强调某一部分文字或者为了让文字有所变化 -->
	<!-- 有利于搜索引擎的搜索 -->
	<!-- <hn> <b> <i> <u> <sub> <sup> <font> <tt> <cite> <em> <strong> <small> <big> -->

	<body>
		<!-- 标题都会自动换行的 -->
		<h1> 使用<h1>,就会输出1号标题 </h1>
		<h2> 使用<h2>,就会输出2号标题 </h2>
		<h3> 使用<h3>,就会输出3号标题 </h3>
		<h4> 使用<h4>,就会输出4号标题 </h4>
		<h5> 使用<h5>,就会输出5号标题 </h5>
		<h6> 使用<h6>,就会输出6号标题 </h6>
		<h7> 使用<h7>,没有此标签 </h7> <br />
		 	
		<b> 粗体 </b> <br />
		<u> 下划线 </u> <br />
		<i> 斜体 </i> <br />

		<!-- 多个标签嵌套,要一一对应 -->
		<b><u><i>   我的样式是这样的!!  ^*^ !!! </i></u></b> <br />

		<font face="黑体" color="red" size="6"> 
			绝对字体大小为6的红色黑体字
		</font>
		<br />
		<font face="宋体" color="green" size="+3">
			相对字体大小为+3 的绿色宋体字
		</font>
		<br />

		<tt>	<tt>	输出打印机文字</tt><br />
		<cite>	<cite>	输出引证、举例的斜体字</cite><br />
		<em>	<em>	输出强调的斜体字</em><br />
		<strong>	<strong>	输出强调的粗体字</strong><br />
		<small>	<small>	输出小型字体</small><br />
		<big>	<big>	输出大型的文字</big><br />
		

	</body>
</html>

The above introduces the learning PHP process record (3) - Commonly used tags 2, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:ApiGen installationNext article:ApiGen installation