继续浏览精彩内容
慕课网APP
程序员的梦工厂
打开
继续
感谢您的支持,我会继续努力的
赞赏金额会直接到老师账户
将二维码发送给自己后长按识别
微信支付
支付宝支付

html语言学习小结笔记4

慕田峪7332313
关注TA
已关注
手记 1
粉丝 0
获赞 17

html contains the content of website,aber css is to add some presentation.

<html>
<head>
<title>what you write here will appear on the title about your page</title>
<style>
span{
color:blue;
}
</style>
</head>
<body>we can add the contents here in body
<!-- this is for translation, and never present for viewer -->
<h1>Here is the title. from the biggest to the smallest is h1,h2....,h6</h1>
<div id="labels">
this is to divide the areas from the page you see
<p>this is for paragraph</p>
<p>
<em>hello</em>
<strong>hello </strong>
<span>blue words</span>
<q>quote</q>
<blockquote>much quote</blockquote>
</p>
<p> to add an enter<br />to add an enter<br />
to add a space   to add two space    
<hr />just to add a line
<address>to add an address</address>
<code>a=b write code here</code>
<pre>
here what you write will be reserve completely
</pre>
</p>
<ul>
<li>no order list</li>
<li>no order list</li>
</ul>
<ol>
<li>order list</li>
<li>order list</li>
</ol>
<table summary="summary">
<caption>table title</caption>
<tbody>
<tr><!--table row-->
<th>table head</th>
</tr>
<tr>
<td>table cell</td>
</tr>
<a href="other website" title="friendly for reading" target="_blank">click here to jump</a>
<!--target="_blank" is to open the page at a new window-->
<a href="target mailbox?subject=title&body=content">click here to send a mail</a>
<img src = "image address.gif" alt = "description" title = "friendly for reading" />
</div>

</body>

</html>

打开App,阅读手记
0人推荐
发表评论
随时随地看视频慕课网APP