HTML Beginner's Guide (1)

Source: Internet
Author: User
Tags definition format definition header html tags include new features tag name access
Beginner this is the primary reading of 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, <H1> and </H1>) 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. <title> equivalent to <TITLE> or <title>. A few exceptions are listed in the escape sequence below.

Not all world Wide Web browsers support all of the tags. If a browser does not support a tag, it is usually ignored.

The smallest HTML document
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.

The following source document illustrates the necessary elements:

<title>a Simple HTML example</title>
<body>
<p>welcome to the world of HTML.
This is the paragraph. While short it is
Still a paragraph!</p>
<p>and This is the second paragraph.</p>
</body>

The necessary elements have

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.