What is an HTML document an HTML document is a plain text (ASCII) file that can be generated with any of the editors (such as Emacs in Unix or VI, BBEdit in the Macintosh, Notepad in Windows). You can also use word processing software, but remember to save the file as "plain text with carriage return"
This article is the primary reading for creating HTML files. HTML is the Hypertext Markup language used in the WWW (World Wide Web). The purpose of this guide is to describe how to use HTML and create Web files. The links in this article point to some additional information. You can also check in your local bookstore, where there may be a lot of valuable information about the Web and HTML.
Objective
Terms
Www
World Wide Web
Web
World Wide Web
Sgml
Standard Generalized Markup language--Standard Universal Markup Language, a standard for describing markup languages
Dtd
The document type definition--a literal definition of text, which is a formal description of the markup language written in SGML
Html
Hypertext Markup language--Hypertext Markup Language, which is a SGML DTD
HTML is a platform-independent format definition (illustrated by tags) that describes the various components of the world Wide Web document. The HTML was invented by Tim Berners-lee at CERN (the European Particle Physics Laboratory in Geneva).
Content not included in this article
This guide assumes that the reader has the following basics:
Know how to use NCSA Mosaic or other Web browser
A general understanding of the Web server and customer browsers
You can access the WEB server (or you just want to create your own HTML document in a local way)
HTML version
This guide references the latest notes--html 2.0--plus some additional features that have been widely implemented in browsers. And some of the new features that are being developed.
HTML Document
What is an HTML document
An HTML document is a plain text (ASCII) file that can be generated with any of the editors (such as Emacs in Unix or VI, BBEdit in the Macintosh, Notepad in Windows). You can also use word processing software, but remember to save the file as "plain text with carriage return".
HTML Editor
There are now some WYSIWYG editors (such as., HoTMetaL available on a variety of platforms, or Adobe Pagemill for Macintosh machines). After you've learned some basic basics of HTML tags, you might want to use them. You will find that mastering enough HTML coding knowledge is useful for determining whether a WYSIWYG editor is applicable.
If you have not selected which software to use, you can refer to the site software download HTML Editor of the online example table (By Application Platform classification), to help you find application software.
To store files on the server
If you have access to a Web server in your school or organization, contact your Web Administrator webmaster (the person who maintains the server) to see how to store your files on the Web. Otherwise, if you do not have access to the school or the organization, you can see if your community has free internet freenet, a A community-based network that provides free Internet access services. If there are no free networks, you can contact your local Internet service provider, who can store your documents on the server, but charge a fee. (You can find the advertisement in the local newspaper with your Chamber of Commerce for the names of companies.)
Tag description
A elements element is an essential part of a document structure. Examples of elements are head heads, table tables, paragraph paragraphs, list lists, and so on. You can understand this: you use HTML tags to mark the various elements of a file in your browser. Elements can contain plain text, other elements, or both.
Use tags in HTML documents to represent various elements. The HTML tag consists of a left angle bracket (<), a tag name, and a right angle bracket (>). Tags usually appear in pairs (for example,
and
) to indicate the scope of the marker action. The end tag is similar to the start tag, except that it is led by a slash (/) in the tag name in parentheses. HTML tags are listed in the following sections.
Some elements may contain a property attribute, which is an additional information description contained in the start tag. For example, you can indicate the position of an image (top, center, or bottom) by including the appropriate attributes in the HTML code of the image file. Tags with optional attributes are as follows.
Note: HTML is case-insensitive. equivalent to <TITLE> or <title>. A few exceptions are listed in the escape sequence below.</p></p> <p><p>Not all world Wide Web browsers support all of the tags. If a browser does not support a tag, it is usually ignored.</p></p> <p><p>The smallest HTML document<br>Each HTML document should contain some standard HTML tags. Each document contains the header head and body text two parts. The header contains title titles, and the body contains text that actually makes up paragraphs, lists, and other elements. Browsers need specific information because they are programmed according to HTML and SGML instructions.</p></p> <p><p>The following source document illustrates the necessary elements:</p></p> <p><p><ptml><br><pead><br><title>a Simple HTML example
html is easy to learn
welcome to the world of HTML.
This is the paragraph. While short it is
Still a paragraph!
and This is the second paragraph.
The necessary elements have , , , and markers (and their corresponding closing tags). Since you include these tags in each file, you can create a template file that contains these tags. (Some browsers automatically normalize your HTML files correctly, even if you don't include them.) but some browsers don't! So make sure you include these tags.
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] Next page