一篇文章學(xué)習(xí)HTML基本語法
<!DOCTYPE html>
<html>
<head>
<title>Liu Feng's homepage</title>
<meta charset="UTF-8">
<meta name="description" content="這是我的html簡歷">
<meta name="keywords" content="liufeng,AHU,計算機(jī)編程,簡歷">
<link rel="icon" href="images/icon.jpeg">
<!-- 還有許多meta信息 -->
</head>
<body>
<h1>Liu Feng (劉峰)</h1>
<img width="300" src="/images/icon.jpeg" alt="Liu Feng的照片不存在">
<video controls width="500" src="/videos/招聘首頁.mp4"></video>
<video controls width="500" src="/videos/書院宣傳片 香港中文大學(xué)(深圳)-1.mp4"></video>
<h2>超鏈接</h2>
<a href="https:www.ahu.edu.cn" target="_blank">
<img width="200" src="/images/書院宣傳片 香港中文大學(xué)(深圳).png" alt="打不開">
</a>
<h2>表單</h2>
<form>
<label for="username"></label>
<input required type="text" placeholder="用戶名" maxlength="10" minlength="3" name="Myname" id="username">
<br>
<label for="age"></label>
<input placeholder="年齡" type="number" name="Myage" id="age">
<br>
<label for="email"></label>
<input placeholder="郵箱" type="email" name="Myemail" id="email">
<br>
<label for="password"></label>
<input placeholder="密碼" type="password" name="Mypassword" id="password">
<br>
<textarea name="resume" id="resume" cols="60" rows="10"></textarea>
<br>
<label for="lang">語言</label>
<select name="lang" id="lang">
<option selected value="java">java</option>
<option value="c++">c++</option>
<option value="python">python</option>
</select>
<br>
<ul>
<li>first item</li>
<li>second item</li>
<li>third item</li>
</ul>
<ol>
<li>This is the first item</li>
<li>This is the second item</li>
<li>This is the third item</li>
</ol>
<button type="submit">提交</button>
</form>
</body>
</html>