What is HTML?
HTML is a language used to describe a Web page.
- HTML refers to Hypertext Markup Language: HyperText Markup Language
- HTML is not a programming language, but a markup language
- Markup language is a set of tag tags (markup tag)
- HTML uses tag tags to describe Web pages
- HTML document contains HTML tags and text content
- HTML documents are also called Web pages
HTML tags
HTML tag tags are often referred to as HTML tags (html tag).
- HTML tags are keywords surrounded by angle brackets , such as
- HTML tags are usually paired up , such as <b> and </b>
- The first label in the pair is the start tag , the second is the end tag
- Start and end tags are also known as open tags and closed labels
HTML version
Since the inception of the network, there have been many HTML versions:
HTML Editor recommended
You can use the Professional HTML Editor to edit the HTML, rookie tutorial for you to recommend several commonly used editors:
- notepad++:https://notepad-plus-plus.org/
- Sublime text:http://www.sublimetext.com/
- hbuilder:http://www.dcloud.io/
notepad++
Notepad++ is a set of text editors (software copyright license: GPL) under the Windows operating system, with a complete Chinese culture Interface and features (UTF8 technology) that support multi-lingual writing.
Step 1: Create a new HTML file
After the notepad++ installation is complete, select File (F), New (N), and enter the following code in the newly created file:
Step 2: Save as HTML file
Then select "File (F), Save As (A)" and file name runoob.html:
When you save an HTML file, you can use. htm as well as the. html extension. There is no difference between the two, completely according to your preferences.
Step 3: Run the HTML file in the browser
Start your browser and choose the Open File command on the File menu, or double-click your HTML file directly in the folder.
The results of the run appear similar to the following:
HTML Learning (i) Introduction and editor