【正文】
接 ()。)最后,如果用戶名和密 碼正確,一個有鏈接的首行為用戶名的響應(yīng)頁面將發(fā)送到客戶端。在 16行,將檢查用戶名和密碼。如果不是,那么將顯示一張要求輸入用戶名和密碼的表單。在這個例子中,我們用 頁面要求用戶輸入用戶名。下面我們將用例子來解釋這個方法: 假設(shè)我們想允許特定的用戶來訪問我們站點或目錄上的信息,而且我們想在用戶訪 問的所有頁面上顯示他的用戶名。通過信息的互發(fā),服務(wù)器將能夠識辨某個指定的用戶,并把特定的信息給賦給特定的用戶。 Session 方法 當某個用戶首次訪問我們站點的頁面時,會引起建立連接和斷開連接的事件發(fā)生。t mean that everyone can see has to be on a Westerner, otherwise only you will be able to see it. 中文譯文一 HTML 教程 作者: Three topper L Merrily 國籍:美國 出處: 本頁我們將學習如何將用戶信息保持在我們的站點里(用 Session 方法)和用戶間如何共享信息(用 (Application方法 )。t modify text, but they do put something into the body, such as a put a line, which can nicely separate a section on your page, like if you had a table of contents and a story put in a line, use hr anywhere you : HTML head titleA line!/title /head body BGCOLOR=black text=white pSection1 hr p(Separated) Section 2 /body /HTML HTML Tutorial Chapter 4 Images No page is a page without images, or graphics, Images give an entire light to a Web page, not to mention setting the atmosphere for the are quite image must be in either JPEG or GIF put an image in a page, here is an example: HTML head titleGraphics!/title body BACKGROUND= pThis page has graphics! pimp sec= pimp sec= /body /HTML A few rules of images: linking to ANY URL (such as ), you must ALWAYS have unless the picture is in your Web site it is a local picture, (in your server account), the link can just be or . general primary formats for Web graphics are GIF and brothers (like IE) might support things like BMP, and newer brothers have limited support for the PNG format, but to be sure, it39。t want to be end a tag (stop what a tag is going, use this format: /baggage.Thus, to end a bold tag, you use /bold (or for short, /b). i stands for after i and before /i will bee italic, or slanted. u stands for after u and before u is underlined. center sets the alignment for could also center text by using p align=centerCentered Text/p, but center is a lot makes text go in the center of the screen. You can also use: p align=leftThis sets alignment to the left./p p align=rightThis sets alignment to the right of the screen./p NOTE: If you use p option, like to set alignment, in order to stop it39。ve learned body options, you can now learn how to add text to the body section, and how to make it look Funny! Before, you learned a little about tags and how they are important to text because they can change the way text looks, and take a look at an example to learn a few basic tags. HTML head titleText Example/title /head body BGCOLOR=black text=white pThis is my first, ordinary paragraph. pbThis is my second, bold paragraph./b piThis is my third, italics paragraph./i puThis is my fourth, underlined paragraph./u pblinkThis is my fifth, Clinking paragraph./blink centerThis is my last, centered paragraph./center /body /HTML The p tag stands for starts text on a new p, all the text would be in one line and wrapped around, and it would look pretty messed up. In the second paragraph, there was a b (or bold for full) makes all text inside of it bee bolder. As you learned before, some tags need to be ended. This is one of you didn39。 Newscast. The body section is the main part of the page that contains all the text that appears in the page. HTML Tutorial Chapter 2 Body Attributes The Body tag has more to it than just body.The body tag also controls the color of the page text, the background of the page, and attribute to any tag (in this instance, it will be the body tag) is an extra keyword that can be set inside the tag that allows for certain