Use Notepad or TextEdit to write HTML
You can use a professional HTML editor To edit HTML:
Adobe Dreamweaver
Microsoft Expression Web
CoffeeCup HTML Editor (recommended learning: HTML Getting Started Tutorial)
However, we also recommend using a text editor to learn HTML, such as Notepad (PC) or TextEdit (Mac). We believe using a simple text editor is a great way to learn HTML.
Use Notepad and follow the four steps below to create your first web page.
Step 1: Start Notepad
How to start Notepad:
开始 所有程序 附件 记事本
Step 2: Use Notepad Originally edit HTML
Type the HTML code in Notepad:
Step 3: Save HTML
Select "Save As" in the file menu of Notepad.
When you save an HTML file, you can use either the .htm or the .html extension. There is no difference between the two, it's entirely up to you.
Save this file in an easy-to-remember folder, such as html.
Step 4: Run this HTML file in the browser
Start your browser, and then select the "Open File" command in the "File" menu, or directly Double-click your HTML file in the folder.
The result should look like this:
The above is the detailed content of HTML editor usage. For more information, please follow other related articles on the PHP Chinese website!