Use Notepad++ to write the first HTML webpage program, so can you! ! !

To learn any programming language, we have to take the first step and run the first code. I still remember the excitement when I ran the "hello word" of python successfully for the first time, and the happiness when I was in HTML. It's pretty big. Haha, let's get to the topic ^o^/


1. Open notepad++, click [ New ], as shown in the figure

Insert picture description here

2. Enter an HTML program

Insert picture description here

3. After clicking [ Save ], the following interface will pop up

Define a file name such as HTNML-1, and then select the hypertext markup language for the file type, which is html, as shown below
Insert picture description here

4. After saving, we can see that the label has changed color, which is convenient for us to write web pages

Insert picture description here

5. Open the file we saved, then right-click and select Google Chrome in [ Open Method ] (other browsers are also available)

Insert picture description here

6. As a result, you can see the results of the operation

Insert picture description here


The above is the way to write the first HTML webpage program with Notepad++, let's try it together...

I hope my friends can learn

Guess you like

Origin blog.csdn.net/My_daily_life/article/details/108846297
Recommended