html language is a hypertext link markup language. The purpose of designing HTML language is to easily connect text or graphics stored in one computer with text or graphics in another computer. Forming an organic whole, people do not need to consider whether the specific information is on the current computer or on other computers on the network.
The operating environment of this tutorial: windows7 system, html5 version, DELL G3 computer.
Hypertext Markup Language, Chinese is the hypertext link markup language. HTML (HyperTextMark-upLanguage) is Hypertext Markup Language and is the description language of WWW. The purpose of designing the HTML language is to easily connect text or graphics stored in one computer with text or graphics in another computer to form an organic whole. People do not need to consider whether the specific information is on the current computer. Or on other computers on the network. We only need to use the mouse to click on an icon in a document, and the Internet will immediately go to the content related to the icon, and this information may be stored in another computer on the network. HTML text is descriptive text composed of HTML commands. HTML commands can describe text, graphics, animations, sounds, tables, links, etc. The structure of HTML includes two parts: Head and Body. The head describes the information required by the browser, and the body contains the specific content to be explained.
In addition, HTML is the universal language of the Internet, a simple and universal all-purpose markup language. It allows web page producers to create complex pages that combine text and images, and these pages can be viewed by anyone else on the Internet, regardless of the type of computer or browser used. Is it magical? It’s not magical at all, because what you see now is a page written in this language. Haha.
Maybe you have heard of many software that can edit web pages. In fact, you don’t need to use any Specialized software to create HTML pages; all you need is a word processor (such as Microsoft Word\Notepad\WordPad, etc.) and a working knowledge of HTML. In fact, you will soon find that the basic HTML language is extremely easy to learn.
HTML is nothing more than a series of tags combined into a text file. They are like the conductor of the band, telling the musicians where to pause and where to get excited.
HTML tags are usually the full name of an English word (such as block quote: blockquote) or an abbreviation (such as "p" for Paragragh) , but they are different from ordinary texts because they are placed in a single book title. Therefore, the Paragragh tag is
, and the block quote tag is
. Some tags describe how the page should be formatted (e.g.,starts a new paragraph), others describe how the words should be displayed ( makes text bold), and still others provide information that does not appear on the page. Information - such as a title.
The thing to remember about tags is that they come in pairs. Whenever a tag is used - such as
, it must be closed with another tag. Note the slash before "blockquote", that is the difference between closing the tag and opening the tag.Basic HTML pages start with the tag and end with . Between them, the entire page has two parts - the title and the text.
The title word—sandwiched between the
and tags—this word appears in a minimized window at the bottom of the screen when the page is opened. The main text is sandwiched between and - that is, where all the page content is. Everything displayed on the page is contained within these two tags.So let's build a simple example, it's very easy. The first step, of course, is to create a new text file (remember, if you are using a more complex word processor, you should save it as "plain text" or "normal text") and name it "xxxx" .html". (Whatever name you want, but remember to use English)
Then you can open it with a browser, and you will see the simplest page you made.
Related learning recommendations: html video tutorial
The above is the detailed content of what is html language. For more information, please follow other related articles on the PHP Chinese website!