HTML English means that Hypertext Marked Language, that is, the super -text label language, is a simple label language used to make super text documents. HTML is a label language founded by Web's inventor Tim Berners-Lee and colleague Daniel W.Connolly in 1990. It is the application of standard generalized label language SGML.
The super -text document written by HTML is called HTML document, which can independent of various operating system platforms (such as Unix, Windows, etc.). Through HTML, write the information required as a HTML file in accordance with certain rules, identify it through a dedicated browser, and translate these HTMLs that can be widely understood into information that can be recognized, that is, all computers are all computers. A mother tongue for publishing. It is the webpage we see now. Since 1990, HTML has been used as the abbreviation of WWW (the abbreviation of World Wide Web, or you can also simplify information about Web and Chinese). Essence The file described in HTML language needs to be displayed through the WWW browser.
HTML (Ultra -File Marking Language) is a language that creates web files. Through the labeling instructions (TAG), the content of images, sounds, pictures, texts, animations, film and television and other content is displayed. Because it can jump from one file to another file and connect to the files of hosts around the world. The hyper -text transmission protocol stipulates the rules and operations followed by the browser when running the HTML document. The formulation of thehttp protocol allows the browser to have a unified rule and standard when running the super text.
The so -called super text is because it can add pictures, sounds, animations, film and television and other content. In fact, each HTML document is a static web file. This file contains the HTML instruction code. These instruction code is not a kind of instruction code Program language, it is just a tag structure language on the positioning position in the typesetting webpage. It is easy to learn and understand. It is very simple. The general application of HTML is the technology of super text-through a click from one-the-the -ware jump to another, from one page to another page and other pages of the files around the world. Get directly related topics. As shown below:
Through HTML, you can show a colorful design style:Image call: <IMG SRC = file name>
Text format: <font size =+5 color =#00ffff> text </font>
Through HTML, the jump between the page can be achieved:Page jump: "A href = file path/file name> </a>
You can show the effect of multimedia through HTML:Voice: <emBed src = music address autostart = true>
Video: <emBed src = video address AutoStart = true>
From above, we can see some labels that need to be used in HTML super -text files. Each symbol used to label in HTML is an command, and it tells the browser how to display text. These tags are composed of <and> symbols and a string. The function of the browser is to explain these tags, showing text, images, animation, and playback sounds. These labels are represented by <Tag Name Properties>.
HTML is just a pure text file. To create a HTML document, only two tools are required, one is HTML editor and a web browser. HTML editor is an application for generating and preserving THML documents. The web browser is used to open the web web file and provide us client programs to see Web resources.
The HTML document belongs to pure text files (it can write in any text). For example, the HTML language can be edited directly using ordinary text editors.
The powerful function of HTML:All Wanwei network files are created by HTML, a super -text logo language HTML. In this language, the files can be used to process the files. These marks determine the appearance, structure, and interaction of the file content. Their in common is that they use <>, such as paragraph marks <p>, picture marks <IMP>, etc.
In the browser, no HTML labels are not visible, but the webpage effect seen in the browser is generated by these tags. In most cases, there is no need to master the HTML mark when creating a site, because in software such as FRONTPAGE, the processing of HTML is carried out behind the scenes, so the complexity of the language is covered. If you need to view the HTML mark on the webpage, you can choose the HTML mode.
Most of the webpage production currently uses some specialized webpage making tools, such as Dreamweaver, WebStorm, etc. These tools are all obtained, very convenient. But don't think that you just understand these tools. Many times, we need to manually adjust the HTML code to achieve better and more professional effects.
After understanding the definition of HTML, we will learn this language next.
1. Why learn HTML?In the past two years, many companies have developed graphical HTML development tools, making the production of web pages very simple. WebStorm, Adobe Pagemill launched by Adobe, Dreamweaver launched by Micromedia launched by Micromedia are all known as the webpage making tools that are obtained. These graphical development tools can directly handle web pages without writing laborious labels. This allows users to write web pages without HTML language foundation. At this time, the task of writing the HTML document is completed by the development tool. This is the biggest success of the web graphic editing tool, but it is also the biggest shortcomings of them. The constraints of graphic editing tools will produce a large amount of garbage code. The reason is simple, for example: design a form on the webpage. If the width and height of each cell is automatically determined according to the content, as long as you tell it that it is the order of the form and the cell (that is, the number of ranks), it will be fine. It is because the graphic development tool cannot know your special requirements, so you can only take general requirements and define the width and height of each cell, which increases many code. Therefore, a wise web page writer should further learn the HTML language on the basis of mastering the graphic editing tool, so as to know that those are garbage code. In this way, we can use graphical HTML development tools to quickly make web pages, and it will eliminate useless uselessness The code to achieve the purpose of quickly making high -quality web pages.
Therefore, the HTML language is the basis for webpage production and the content of beginners. Although there are many webpage production tools that are obtained now, in the final analysis, it is still necessary to understand some HTML grammar. In this way, you can control the typesetting of the page more accurately and can achieve more functions.
2. How to use HTML?HTML language, also known as the super -text marker language, is an abbreviation of English Hyper Text Markup Language. HTML language, as a logo language, is composed of some specific symbols and grammar, so it is easy to understand and master. It can be said that the HTML language is the easiest to learn in all computer programming languages. The documents that make up the HTML are all ASCILI files, so creating the HTML file is very simple, just a ordinary character editor. Such as the notepad and writing board in Windows. You can also use special HTML editing tools: such as Coffeehtml, HomeSite, HTMLEDIT Pro and other tools. They are characterized by automatically check grammatical errors in HTML documents and assisted to correct them. Due to the graphical HTML development tool, it makes it easier for us to learn HTML. We can use it to make a web page first, and then the HTML code editor that comes with it Features, so that we can quickly grasp HTML. Especially the recently released Dreamweaver4 released by Micromedia, it is really convenient to put the source code editor and web editor in the same window.
3. Basic concept of HTML 1. Definition:The HTML language is a super -text marker language. In short, to build a set of marks and grammar rules, the elements such as the text, images, sounds to be displayed are discharged in accordance with certain standards, forming a certain title, paragraphs, paragraphs, and paragraphs. , List and other units.
2. Super text mark1) The super -text marker is represented by a sprite bracket <and>.
2) The super -text label is generally paired, and the element with a slope is represented. Such as: <html> and </html>. However, some marks are only the starting label without the end mark, such as: <br>. It indicates that it is introduced in the webpage to introduce a change of action, and some marks can be omitted, such as: the end of the paragraph </p> can be omitted.
3) Ultra -text markers ignore the case, such as: <HTML> and <HTML> are equivalent, but the names of the entity content are to distinguish the case, such as & name and & name are different entities.
4) A marking element can be written in multiple lines, and the parameter position is not limited.
3. Unit (element) of HTML language (element)The content of the entire webpage page is composed of many units formed by specific content, and each unit consists of three parts ---- start marks, unit content, and end marks.
Start mark: The starting mark is defined by <he ", the unit name and attribute are given by the starting mark;
Unit content: The middle part is the content part of the unit;
Ending the marker: The end of the mark is defined by </and>, one more inclined than the start logo;
For example: the marking form of the title bar unit
<Title> Interview with the college entrance examination champion-remember the growth experience of a farmhouse child </Title>
Among them, <Title> and </Title> are the starting labels and end marks. Interviews with college entrance examinations-remembering the growth experience of a farm child is the basic content of the unit.
In short, the entire HTML document is composed of marking. The labeling of the HTML document is to write a fixed framework for writing the document. We only need to fill the content in this framework.
The key to learning the HTML language is the parameters of flexible application marks. Especially the default value application