To break<br /><p>paragraph,</p>use the br tag.
To break
paragraph,
use the br tag.
<p> 定义段落。
<br /> 插入单个折行(换行)。
<a href="http://www.w3school.com.cn">This is a link</a>
<img src="w3school.jpg" width="104" height="142" />
<h1 align="center"> 拥有关于对齐方式的附加信息。
<body bgcolor="yellow"> 拥有关于背景颜色的附加信息。
<table border="1"> 拥有关于表格边框的附加信息。
在某些个别的情况下,比如属性值本身就含有双引号,那么您必须使用单引号,例如:
name='Bill "HelloWorld" Gates'
class classname 规定元素的类名(classname)
id id 规定元素的唯一 id
style style_definition 规定元素的行内样式(inline style)
title text 规定元素的额外信息(可在工具提示中显示)
<body style="background-color:PowderBlue;">
<h1>Look! Styles and colors</h1>
<p style="font-family:verdana;color:red">
This text is in Verdana and red</p>
<p style="font-family:times;color:green">
This text is in Times and green</p>
<p style="font-size:30px">This text is 30 pixels high</p>
align 定义文本的对齐方式
bgcolor 定义背景颜色
color 定义文本颜色
font-family、color 以及 font-size 属性分别定义元素中文本的字体系列、颜色和字体尺寸:
text-align 属性规定了元素中文本的水平对齐方式:
background-color 属性为元素定义了背景颜色: