一..学习内容:
(1 )主要就是了解一个html的大概:HTML的相关概念,HTML元素,HTML属性。
(2 )了解HTML文档是由HTML元素组成,而HTML元素以开始标签起始,以结束标签终止。
(3 )了解相关标签:
1. 标题<h1>~<h6>;
2.段落<p>;
3.文本格式化<bdo>,<abbr>等
4.链接<a>
(4 )了解头部<head>中的元素标签:<title> <style> <base> <link>等
(5 )今天粗略涉及了CSS
二.代码:
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>这是我第一个HTML</title>
<meta http-equiv="refresh" content="3">
</head>
<body>
<h2> Welcome to my first HTML Day1</h2>
More Information:
<a href="http://www.baidu.com" style="text-decoration:none">Baidu</a>
<a href="http://www.taobao.com">Taobao</a>
<a href="#tips">tips</a>
<hr>
<div style="border:0.5px solid yellow;height:200px;width:100%">
<div style="border:0.5px solid #000;height:90%;width:20%;float:left;margin-top:5px">
<p style="text-align:center"><abbr title="Menu of my html">Menu</abbr></p>
<p style="text-align:center;font-family:arial">News</p>
<p style="text-align:center;font-family:arial">Information</p>
</div>
<div style="border:1px solid red;height:90%;width:79%;float:left;margin-top:5px">
</div>
</div>
<hr>
<a id="tips">Here is the tips</a>
<br>
Our Website:www.blbalbla.com
<br>
Our Contact:010-11111111
</body>
</html>
三.问题:
暂无问题,主要是文本格式化理解