Bạn phải nhớ:
- Notepad, Notepad++ là chương trình soạn thảo văn bản, dùng để soạn thảo mã nguồn html.
- Google Chrome, Internet Explorer, Safari, Opera, ... là trình duyệt Internet; dùng để xem trang web
Bước 1. Mở Notepad
Bước 2. Vào File, chọn Save as...; đặt tên file và thiết lập như hình
Bước 3. Nhập mã html
<html>
<head>
<title>Bài html đầu tiên</title><meta charset="utf-8" />
</head>
<body>
Xin chào các bạn.
</body>
</html>
Bước 4. Vào nơi lưu file html đã tạo, nháy chuột phải vào tên file, chọn Open with rồi chọn Google Chrome hoặc Internet Explorer
https://tritue.edu.vn/tuecode/tracnghiem30/index.php/baiviet/post/view/id/205?id=205