框架:
<html>
<head>
<title>Document name goes here</title>
</head>
<body>
Visible text goes here
</body>
</html>
html标签属性
标签 含义 <p> </p> 段落 <br/> 换行 <hr/> 创建水平线——,分割内容 <!-- --> 注释 <a> 定义链接地址,可用属性:href/ name <table> 表格 HTML 表格 (w3chtml.com) <ol>/ <dl>/<li> 列表 HTML 列表 (w3chtml.com) <form></form> 表单 HTML 表单 (w3chtml.com) <img>定义图像<img src="boat.gif" alt="Big Boat">
两个属性src图像地址,alt图像替换文字(图像无法显示时显示文字)
属性 href="a link"链接地址属性,在<a> </a>标签中被定义
<a href=" "> </a>
包含:target属性,规定新链接被显示在何处
<a href=" " target="_blank">Visit W3C HTML!</a> 在新窗口打开链接name
html内部书签属性,用来命名锚anchor,对读者不可见
当使用命名锚(named anchors)时,我们可以创建直接跳至页面中某个节的链接,这样使用者就无需不停的滚动页面来寻找他们需要的信息。HTML 链接 (w3chtml.com)
align对齐方式,=center/
<h1 align="> </h1>
bgcolor 背景颜色 style 改变文本样式 HTML 样式 (w3chtml.com)哈哈哈