HTML
定義:超文本標(biāo)記語言
.html
IE chrom(谷歌) firefox(火狐) open
注釋:
單標(biāo)記 雙標(biāo)記
雙標(biāo)記:成對出現(xiàn)
<html>內(nèi)容</html> <head>內(nèi)容</head>
單標(biāo)記:只有一個
<meta/>
p標(biāo)簽 雙標(biāo)簽 <p></p> 作用:段落標(biāo)簽
文本標(biāo)簽:
b標(biāo)簽 雙標(biāo)記 <b></b> 作用:文字加粗
i標(biāo)簽 雙標(biāo)記 <i></i> 作用:傾斜
s標(biāo)簽 雙標(biāo)記 <s></s> 作用:中劃線
u標(biāo)簽 雙標(biāo)記 <u></u> 作用:下劃線
? 空格
< 小于 less than
> 大于 big than
? 版權(quán)
分割線
復(fù)習(xí)
html:超文本標(biāo)記語言 .html(擴展名) .txt .doc
<html>
<head>
<meta charset="utf-8"/>
<title>我的第一個html網(wǎng)頁</title>
</head>
<body>
p 標(biāo)簽 <p></p> 段落標(biāo)簽
b 標(biāo)簽 <b></b> 字體加粗
i <i></i> 傾斜
u <u></u> 下劃線
s <s></s> 刪除線
一個空格
$lt; 小于
$gt; 大于
© 版權(quán)
<hr/> 分割線
<br/> 換行
<strong></strong>
<em></em>
<img/>
src: 路徑
title:表示鼠標(biāo)移入時的提示信息
alt:替換圖片的文字
超鏈接:頁面跳轉(zhuǎn)
<a></a>
href="路徑"
target:_self _blank
</body>
</html>