LẬP TRÌNH WEB HTML - CSS - JAVA SCRIPT
BÀI 1: CÁC THẺ CƠ BẢN TRONG HTML (Hypertext Markup Language)
<br/> : thẻ xuống hàng text.
<div>text</div> : thẻ chia nhóm hàng ngang (full sceen).
<span>text</span> : thẻ chia nhóm hàng ngang(chia theo text).
<h1>HEADER</h1> : thẻ tiêu đề, các công cụ tìm kiếm sẽ tìm web thông qua thẻ này.
<h2>Header</h2> : thẻ tiêu đề, mức độ quan trọng thấp hơn thẻ h1.
<h3>header</h3> : thẻ tiêu đề, mức độ quan trọng tiếp tục giảm.
<img src="tenHinh" alt="moTaHinh"> : thẻ chèn hình vào web, thêm alt để cập nhật mô tả cho hình.
<a href="url">tenNut</a> : thẻ chuyển đổi tab
<ul> : thẻ hiển thị danh sách (dấu chấm phía trước).
<li>Lập trình HTML</li>
<li>Lập trình android</li>
<li>Lập trình căn bản</li>
<li>Lập trình java</li>
</ul>
<ol> : thẻ hiện thị danh sách (số phía trước).
<li>Lập trình web</li>
<li>Lập trình ứng dụng điện thoại</li>
<li>Lập trình code thiếu nhi</li>
<li>Lập trình siêu cấp vippro</li>
</ol>
<p> : thẻ đoạn văn
Welcome to Hama's website :) <br/>
I am a programmer, a mechatronics engineer, a videographer, and a video editor. <br/>
If you are viewing this site, I believe you are looking for me.
And of course, my information below will hopefully help you!
</p>
<form> : thẻ thông tin người dùng tương tác
<div>
<label>What's your name? </label>
<input type="text" placeholder="My name is..."> : thẻ ô tìm kiếm ... thẻ gợi ý
</div>
<div>
<label>What is your gender?</label>
<select> : thẻ menu đổ xuống
<option>male</option>
<option>female</option>
<option>LGBT</option>
<option>other</option>
</select>
</div>
<div>
<label>Do you have any girlfriend or boyfriend?</label> : thẻ options tròn
<input type="radio" name="couple"> No <input type="radio" name="couple"> God knows
</div>
<button>Click here to send</button> : thẻ nút
</form>