HTML Basic - Chapter2

本文介绍如何利用简单的文本编辑器如记事本(PC)或TextEdit(Mac)来创建和修改网页。通过四个步骤——打开编辑器、编写HTML代码、保存文件为UTF-8编码的HTML文件以及在浏览器中预览页面,读者可以轻松上手制作自己的第一个网页。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

HTML Editors

  Write HTML Using Notepad or TextEdit

    Web pages can be created and modified by using professional HTML editors.

    However, for learning HTML we recommend a simple text editor like Notepad(PC) or TextEdit(Mac).

    We believe using a simple text editor is good way to learn HTML.

    Follow the four steps below to create your first web page with Notepad or TextEdit.

      Step1: Open Notepad(PC)

        Open Notepad in Window 8 or later:

          Open the Start Screen (the window symbol at bottom left on your screen). Type Notepad.

        Open Notepad in Windows 7 or earlier:

          Click Start (bottom left on your screen). Click All Programs. Click Accessories. Click Notepad.

      Step2: Write  Some HTML

        Write or copy some HTML into Notepad.

      Step3: Save the HTML Page

        Save the file on your computer. Select File > Save as in the Notepad menu.

        Name the file "index.htm" and set the encoding to UTF-8 (which is preferred encoding for HTML files).

      Step4: View the HTML Page in Your Browser

        Open the saved HTML file in your favorite browser (double click on the file, or right-click-and choose "Open with")

转载于:https://www.cnblogs.com/lostkite/p/5724709.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值