inicio mail me! sindicaci;ón

HTML webpage makes skill

1. How to define webpage language (character set) ?

In process of the webpage that make, you should define webpage language above all, so that visit person the browser installs a language automatically, and we see with place namely when the HTML tool of earning, did not notice this issue, because it is acquiescent setting. The language that wants a setting is OK find below HTML code condition:

<meta Http - Equiv= "Content Type" Content= "text/html; Charset=gb2312" >

  

Change Charset=gb2312 into other language code can, for instance English Harset=en.

  

2. How to prevent others to put your webpage in frame?

Because of frame (the cause of Frame) , a lot of people place the webpage of others in his frame, the made one page that makes oneself. If you want such doing to prevent others, can join following JavaScript code can, it can be monitored automatically, jump out next the frame of others.

  

<script Language= "JavaScript" >

If (self! =top) Window.top.location.replace(self.location);

</script>

  

3. How to set style?

In process of the webpage that make, everybody likes to use beautiful style. But, if caller browser did not install same style, the webpage that sees you can be very common font. How to prevent this kind of circumstance to appear? The label that everybody knows to font is installed is Font, and it has a property is Face, this attribute defines form of a written or printed character, you can install: so, the font order that the browser of caller can define according to Face sets the style that already installed. At present dynamic homepage has kind of technology, can store font information with vector format, the public information warehouse that uses caller itself machine to contain next assembles font quickly rise, such, need not fear whether caller is installed have some kind of form of a written or printed character.

  

4. How is explanatory note added in the webpage?

In developing a webpage jointly, adding explanatory note is to prevent to divide the work to be confused confuse or annotate the meaning with some paragraph of special code, the form that adds explanatory note is:

  

< ! - forum of eaves wind multimedia- - > .

  

5. How check a browser and to how check a browser and load the webpage of a need automatically?

At present Microsoft is mixed the browser of net scene not completely can compatible all webpage, some is very beautiful in some kind of browser, and when be being examined with other browser however imbroglio. If you need to check a browser, can join code of the following JavaScript and save alone a webpage:

  

<script Language= "JavaScript" >

Function TestBrowser(){

Ie = ((navigator.appName==

“Microsoft Internet Explorer” )&&

(ParseInt(navigator.appVersion) >= 3) )

Ns = ((navigator.appName==”Netscape” )&&

(ParseInt(navigator.appVersion) >= 3) )

If (ns) {

SetTimeout(”location.href= “nn4.htm” ” , 10);

} Else {

SetTimeout(”location.href= “ie4.htm” ” , 10);

}

}

</script>

  

6. How to let a link there is underline?

  

<style Type= "text/css" >

< ! - -

A{Text-transform: None; Text-decoration: None;}

A:hOver {Text-decoration:uNderline}

/ /- - >

</style>

  

7. How is E-mail joined to link in the webpage and to how is E-mail joined to link in the webpage and show booked theme?

<a Href=mailto:cNshell@163.com? Subject=hello>

  

  

8. How to let background picture do not roll

<body Background= "cnshell.gif" Bgproperties= "fixed" >

  

Or express a definition with CSS style:

<style Type= "text/css" >

< ! - -

Body {Background-image: Url(image/bg.gif); Background-attachment: Fixed}

  - - >

</style>

Bookmark:Digg Del.icio.us Reddit

Leave a Comment