W3.CSS

TRANG CHỦ W3.CSS Giới thiệu W3.CSS W3.CSS Màu sắc Vùng chứa W3.CSS Bảng điều khiển W3.CSS Biên giới W3.CSS Thẻ W3.CSS W3.CSS Mặc định Phông chữ W3.CSS W3.CSS Google Văn bản W3.CSS Vòng W3.CSS W3.CSS Padding Lề W3.CSS Màn hình W3.CSS Các nút W3.CSS W3.CSS Ghi chú Báo giá W3.CSS Cảnh báo W3.CSS Bảng W3.CSS Danh sách W3.CSS Hình ảnh W3.CSS Đầu vào W3.CSS Huy hiệu W3.CSS Thẻ W3.CSS Biểu tượng W3.CSS W3.CSS đáp ứng Bố cục W3.CSS W3.CSS Animations Hiệu ứng W3.CSS Thanh W3.CSS W3.CSS thả xuống Hiệp định W3.CSS Điều hướng W3.CSS Thanh bên W3.CSS Các tab W3.CSS Phân trang W3.CSS Thanh tiến trình W3.CSS Trình chiếu W3.CSS Phương thức W3.CSS W3.CSS Tooltip W3.CSS Grid Mã W3.CSS Bộ lọc W3.CSS Xu hướng W3.CSS Trường hợp W3.CSS Vật liệu W3.CSS Xác thực W3.CSS Phiên bản W3.CSS W3.CSS Mobile

W3.CSS Màu sắc

Các lớp màu W3.CSS Chất liệu màu W3.CSS Giao diện người dùng phẳng màu W3.CSS Giao diện người dùng Metro màu W3.CSS W3.CSS màu Win8 W3.CSS Color iOS W3.CSS Màu thời trang Thư viện màu W3.CSS Lược đồ màu W3.CSS Chủ đề màu W3.CSS Máy tạo màu W3.CSS

Xây dựng Web

Giới thiệu web HTML web CSS web JavaScript trên web Bố trí trang web Băng tần web Dịch vụ ăn uống trên web Nhà hàng web Kiến trúc sư web

Các ví dụ

Ví dụ về W3.CSS Bản trình diễn W3.CSS W3.CSS Mẫu

Người giới thiệu

Tham chiếu W3.CSS Tải xuống W3.CSS

Ban nhạc

Cách tạo một trang web

Cách tạo trang web đáp ứng đầy đủ trông đẹp mắt trên tất cả các thiết bị (máy tính để bàn, máy tính xách tay, máy tính bảng và điện thoại):

Mẫu ban nhạc

Tạo bộ xương

Sử dụng bộ xương từ chương trước.

Một bộ xương đơn giản chỉ với một hình ảnh:

Ban nhạc

Thí dụ

<!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<title>The Band</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<script src="https://www.w3schools.com/lib/w3.js"></script>
<body>

<!-- Start Content -->
<div id="home" class="w3-content">

<!-- Image -->
<img src="img_la.jpg" alt="The Band" style="width:100%">

<!-- End Content -->
</div>

</body>
</html>

Thêm điều hướng

Thêm thanh điều hướng để điều hướng đến Trang chủ, Giới thiệu, Thành viên và Liên hệ.

Ban nhạc

Thí dụ

<!-- Navigation (Stays on Top) -->
<div class="w3-top w3-bar w3-black">
<a href="#home" class="w3-bar-item w3-button">Home</a>
<a href="#about" class="w3-bar-item w3-button">About</a>
<a href="#members" class="w3-bar-item w3-button">Members</a>
<a href="#contact" class="w3-bar-item w3-button">Contact</a>
</div>


Thêm trình chiếu

Thay đổi hình ảnh thành một chương trình phụ.

Thí dụ

<!-- Slides -->
<img class="slides" src="img_la.jpg" width="100%">
<img class="slides" src="img_ny.jpg" width="100%">
<img class="slides" src="img_ch.jpg" width="100%">
<script>
w3.slideshow(".slides", 1500);
</script>

Thêm giới thiệu

Thêm một số thông tin về ban nhạc

Ban nhạc

This is our band website. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Example

<!-- About -->
<div id="about" class="w3-container w3-padding-32">
<h1 class="w3-center">The Band</h1>
<p>This is our band website. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
</div>

Add Band Members

Add a picture of each band member

Band Members

Tên1
John
name2
Paul
Tên 3
Lisa

Example

<!-- Members -->
<div id="members" class="w3-container w3-padding-32">
<div class="w3-row w3-center">

<div class="w3-third">
<img src="img_bandmember.jpg" alt="Name1" style="width:60%">
</div>

<div class="w3-third">
<img src="img_bandmember.jpg" alt="Name2" style="width:60%">
</div>

<div class="w3-third">
<img src="img_bandmember.jpg" alt="Name3" style="width:60%">
</div>

</div>
</div>

Add Contact Info

Add contact info and a contact form.

CONTACT

Chicago, US
Phone: +00 151515
Email: [email protected]

Fan? Drop a note!



Powered by w3.css

Example

<div id="contact" class="w3-container w3-center w3-padding-32">
<h2 class="w3-wide">CONTACT</h2>
Chicago, US<br>
Phone: +00 151515<br>
Email: [email protected]<br>
<p class="w3-opacity w3-center"><i>Fan? Drop a note!</i></p>

<form action="/action_page.php" target="_blank">
<input class="w3-input" type="text" placeholder="Name" required name="Name">
<input class="w3-input" type="text" placeholder="Email" required name="Email">
<input class="w3-input" type="text" placeholder="Message" required name="Message">
<br>
<button class="w3-button w3-black" type="submit">SEND</button>
</form>

<img src="map.jpg" class="w3-image" style="width:100%">
</div>