開始學習html

來源:互聯網
上載者:User

標籤:

網站:一個網站儲存了一個網站包含的所有檔案

 

•網站的建立•html的基本結構

<html>

<head></head>

<body></body>

</html>

•常用的標籤•h1-h6  <h1 algin=“center”>標題文字</h1>•P  <p>段落文字</p>•Br  <br/>  換行•Img   <img src=“圖片地址” width=“” height=“” title=“” alt=“”/>•Span  <span>文字</span>•Div  <div>任何內容</div>•I  <i>傾斜的文字</i>•Em  <em>傾斜的文字</em>•a    相對路徑 和絕對路徑格式為:

<a href="資源地址"  target="視窗名稱" title="指向串連顯示的文字">超連結名稱</a>

•Strong   <strong>加粗的文字</strong>•B    <b>加粗的文字</b>•特殊符號:&nbsp; 空格•三種列表標籤

無序列表:

<ul type=“a” start=“3”>

<li>列表內容</li>

</ul>

 

有序列表:

<ol>

<li>列表內容</li>

</ol>

定義列表:

<dl>

<dt>定義項</dt>

<dd>描述項</dd>

</dl>

 

路徑

•相對路徑:相對路徑就是指由這個檔案所在的路徑引起的跟其它檔案(或檔案夾)的路徑關係。•絕對路徑:是指檔案在電腦或網路上的絕對位址位置,從盤符或協議名稱開始。例如:–file:///E|/works/公開課/1/style/miancss.css

http://cdn.bootcss.com/jquery/1.11.3/jquery.min.js

 

HTML5新增了標籤

 

•<article>

 

•<aside>

 

•<audio>

 

•<canvas>

 

•<footer>

 

•<header>

 

•<hgroup>

 

•<section>

 

•<time>

 

•<video>…等 HTML5廢除的標籤

1、能用css代替的元素basefont、big、center、font、s、strike、tt、u

2、不再使用frame架構

3、只有部分瀏覽器支援的元素applet、bgsound、blink、marquee等標籤

4、其他被廢除的元素

Rb acronym dir isindex listing xmp nextid plaintex


 

開始學習html

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.