Collection of web page creation examples
Tip 1: If you point the cursor to a link on some homepage, the link description will appear in the status bar. Is it very convenient? In fact, this is not hard to achieve. You only need to add the following content to the link statement! Try it!
<HTML> 〉
<Head> 〉
<Title> Link Description </title> 〉
</Head> 〉
<Body> 〉
<A href = "http://twinsen.163.net" onmouseover = "window. Status = 'twinsen homepage '; return true;" onmouseout = "window. Status =''; "> '';"〉
</A> 〉
</Body> 〉
</Html> 〉
Tip 2: Some home pages with frame appear in a small window after clicking a link. Does it look uncomfortable? It doesn't matter. As long as the following content is added to the link statement, you can open a new window to browse the link content, which is very convenient.
<HTML> 〉
<Head> 〉
<Title> open a new window </title> 〉
</Head> 〉
<Body> 〉
<A href = "twinsen.163.net" target = "resource window"> "〉
</A> 〉
</Body> 〉
</Html> 〉
Third TRICK: I wonder if you have seen some homepages, old elders with a line of words, so that you can pull the scroll bar far away. Is it very troublesome? It's really bad to be browsed! Can I use Netscape to enable the text to wrap automatically with the size of the window or the size of the table, as in Spanish? Of course, you only need to add the following content to <HTML> 〉
<Head> 〉
<Meta HTTP-EQUIV = "Content-Type" content = "text/html; charset = gb2312"> "〉
<Title> automatic line feed </title> 〉
</Head> 〉
<Body> 〉
</Body> 〉
</Html> 〉
Tip 4: Some homepages can be very interesting, so that they can be automatically linked to other homepages within a certain period of time, you only need to add the following line after <title >##### </title>:
<Meta http-equiv = "refresh" content = "20; url1_otherpage.htm"> enter the underline on your homepage! ("20" indicates connecting to another home page in 20 seconds)
Tip 5: How do I remove the underline Of the hyperlink in frontpage98?
Add the following code to the style:
<Style type = "text/CSS"> "〉
<〈! -- A: link {text-Decoration: None} A: visite d {text-Decoration: None} --> }--〉
</Style> 〉
Select hyperlink-style-text-decoration = none
Tip 6: display text on the Image
To display text on a graph, you may immediately think of using Java to implement this function. But here, I want to introduce you to the method of using HTML directly. "Layer-based technology? "," Neither! ", The method is very simple: Use a table, type text in the table, and then use the image you want as the background file of the table. The image size must be the same as that of the table. In this way, you can easily display text on the image.
Tip 7: small windows
Is there a small floating window? This place is worth a good use. When a visitor enters the station or links to a webpage, it will automatically appear, fully automated! How to use it depends on your personal creativity: The speech area, the tool column, and the welcome of netizens ...... Popup. Location. href = 'specifies the size of the window. HTM; change it to your own HTML file. Description of the window size, please adjust here: width = 200, Height = 170, love how big is how big:
<HTML> 〉
<Head> 〉
<Title> description window </title> 〉
<Script language = "JavaScript"> "〉
<〈! -- Var GT = Unescape ('% 3E'); var popup = NULL; var over = "launch pop-up Navigator"; popup = Window. open ('', 'popupnav', 'width = 200, Height = 170, resizable = 1, scrollbars = auto'); If (popup! = NULL) {If (Popup. Opener = NULL) {Popup. Opener = self;} Popup. Location. href = 'specifies the content of the video window .htm';} // --> ';}//--〉
</SCRIPT> 〉}
</Head>