Home > Web Front-end > HTML Tutorial > A preliminary understanding of html basic knowledge of web pages_HTML/Xhtml_web page production

A preliminary understanding of html basic knowledge of web pages_HTML/Xhtml_web page production

WBOY
Release: 2016-05-16 16:41:03
Original
1263 people have browsed it

HTML language is the abbreviation of Hypertext Markup Language. It is a language that describes the structure of a document, not the actual representation.
The HTML language uses descriptive tags (called tags) to indicate different contents of the document. Markup codes are delimiters that distinguish various components of text, and are used to divide HTML documents into different logical parts (or structures), such as paragraphs, titles, tables, etc. Markup code describes the structure of a document and provides formatting information for the document to the browser to convey the document's appearance characteristics.
Pages written in HTML language are ordinary text documents, which do not contain any information related to the platform and program. They can be read by any text editor.
There are two ways to generate HTML files, one is Manual preparation, the other is to use a web page editor to generate, Dreamweaver 3.0 is such a web page editor, while using Dreamweaver 3.0 to create a web page, Dreamweaver 3.0 generates the HTML file of the web page, so it is necessary to learn to manually prepare HTML files , the following introduces the basic knowledge of how to manually compile HTML files.
HTML documents contain two kinds of information: one is the content of the page itself, such as text, graphics, etc.; the other is HTML tags that represent page elements, structure, format and other hypertext links.
When the browser reads an HTML file and encounters an HTML tag, it displays the content of the page in the format defined by the tag. The basic format of HTML tags is:
Page content 标签>
The front tag indicates the beginning of the defined format, and the following tag indicates the end of this format. For example, "Helloworld! " means displaying "Hello world" in bold font.
The two currently commonly used browsers, 360 and Internet Explorcr, interpret HTML tags differently, that is, the same tag displays different results in different browsers, and whether they can interpret the tags is also different. The same browser Different versions of the server also have this problem, so you need to pay attention to this problem when compiling web pages. Generally speaking, this phenomenon will not occur with commonly used ordinary functions, but will only occur with new and advanced functions. Dreamweaver 3.0 has tried its best to take into account these two browsers and provides some methods to deal with these problems.
HTML files are plain text files that can be entered with any text editor, such as Notepad in the Windows attachment. When saving the file, the file extension must be "HTML" or "HTM".
The overall structure of the HTML file is as follows:


...




The following explains the HTML tags in the overall structure of the HTML file:
: The first HTML tag in each HTML page is , which indicates that the file content is Written in HTML language, all text and HTML tags in an HTML page are included in the
... opening and closing tags.
: The tag indicates that it contains The text in this tag is the preface to other text in the document. Usually only a small part is written in the section of the document. No text from the page content should be written in the header!
: The text contained between the <title> tags is called the header title, and the browser places the header title in the title bar of the page window. <br> : The content of the HTML page is contained in the tag.
Learn about the basic format, concepts and tags of HTML files. Write the following content in the edited text file:


Hello World!<tltle> <br> <br> <br> <p>HeIIo World!</p> <br><p>This is my first web.</p> <br> <br> <br>This is a simple HTML file, let’s start with Name the above file and save it. When naming the file, please pay attention to: <br>(1) In DOS/Windows system, the extension should be ".htm", in UNIX system, the extension should be ".html" (note that (Yes, in UNIX systems, the letters in file names are case-sensitive).</tltle>
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template