HTML Tutorial |
Lessons
|
The Minimum HTML Tags Every HTML document should contain certain standard HTML tags. Each document consists of head and body text. The head contains the title, and the body contains the actual text that is made up of paragraphs, lists, and other elements. Browsers expect specific information because they are programmed according to HTML and SGML specifications. Therefore, the minimal HTML document is displayed below.
Although this document (were it to be viewed in a browser) would display as a completely blank screen, all of the elements within it are essential. HTML The first and last tags in a document should always be the HTML tags. These are the tags that tell a Web browser where the HTML in your document begins and ends. HEAD The HEAD tags contain all of the document's header information. When I say "header," I don't mean what appears at the top of the browser window, but rather, the document title and so on. TITLE What you type here will not appear on your webpage. However, the title will appear in the title bar of the browser. Technically, you do not need to give your webpage a TITLE, but if you do not, the title bar will appear empty, and anyone who wants to bookmark your page will only see a blank space in their list of bookmarks. You should stick to using titles that are rather brief and describe the contents of your page. BODY BODY comes after the HEAD structure. Between the BODY tags, you find all of the stuff that gets displayed in the browser window. All of the text, the graphics, and links, etc. that actually are the page that is displayed, occur between the BODY tags.
|
Notes Document Title: |