HTML document HEAD internal marker of

Related Tags:

  Today, the use of WYSIWYG tools produced Home is a very easy thing.    But understanding html source code and syntax, undoubtedly produce more home help, will enable users to more accurately control the effect of pages.    HTML Syntax introduced there have been many articles, but such a detailed document on HTML skills head internal marker article is the first time that you may see. 

  In addition TITLE marks, HEAD, there are a few other markings.    Although it is not commonly used for these markers, but need a certain understanding. 

  META 

  META tag used to describe not included in the standard HTML documents, some of the information.    Intense competition to the browser makers are using META developed many practical function, so that these features are commonly used browser been effective.    Here are a few useful use: 

  * <META NAME="keywords" CONTENT="yourkeyword"> 

  <META NAME="description" CONTENT="your homepage's description"> 

  Keyword and description of this page.    In addition to these definitions in the pages, some search engines will be able to give readers find the basis of these keywords to your home, know your home page content. 

  * <META HTTP-EQUIV="refresh" CONTENT="60; URL="new.htm"> 

  Browser will be 60 seconds, automatically to new.htm.    You can use this function, the production of a cover, in some time, with automatic readers to your directory pages. 

  If the url does not, the browser is updated page.    This realization of the WWW chat rooms regularly updated features. 

  * <META HTTP-EQUIV="content-type" CONTENT="text/html; charset=GB2312"> 

  This page describes the use of language.    According to the browser, we can choose the right language coding, without the need for readers to make their own choice, in the browser.    GB2312 means Simplified Chinese, and Taiwan BIG5 code page is used BIG5. 

  * <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> mandatory call the latest version of the Internet.    Browser in order to save time, preserve the local hard disk an online version of the interim document.    In the call, you have to re-direct show files on the drive, rather than the Internet.    If you want to see each time readers the latest version, with this remark. 

  LINK 

  Showing this document and other documents between the connections.    One of the most useful applications is the external Cascading style sheet positioning.    Format is as follows: 

  <LINK REL="stylesheet" HREF="style.css"> 

  REL parameters that the relationship between the two documents, the documents were HREF of the target. 

  On Cascading Style Sheets, will be detailed in the following chapter. 

  BASE 

  There are two main usefulness BASE: 

  1, <BASE HREF="原始地址"> 

  This document addresses the original.    In this way, you readers to download the document, that can be downloaded from wherever. 

  2, <BASE TARGET="目的框架名"> 

  In a framework (frame) in the page, if the link to a framework in another framework, for example, in the framework of the menu shows that connecting to the content framework, in the framework of the menu pages with <BASE TARGET = "content">, so that there is no need to connect all the menu pages of the <a> tag attributes add target, unless this is not connected in the framework of the show content. 

  BODY 

  body marked some attribute is used to define the Display pages. 
  ALINK, LINK, TEXT, VLINK 

  [Color. 

  ALINK: connecting the activation of the current text color. 
  LINK: Connecting the text color. 
  TEXT: Text color. 
  VLINK: visited the text color. 

  Note: the Color of text and Background Color to a significant difference to readers here. 

  BACKGROUND, BGPROPERTIES, BGCOLOR: the Background of some pages. 

  BACKGROUND: background logo, the logo on the page, tiled.    Background of a single color logo should be maintained to ensure easy-to-read text pages. 
  BGPROPERTIES: FIXED setting, the background pattern is not rolling.    (INTERNET EXPLORER effective only) 
  BGCOLOR: background color. 


  Note: If you design the background color is deep, and therefore the text color light color, then because of the browser page order is called "background color - text - background logo," then logo in the background did not show the circumstances, you in the white color of the text it is difficult to read, so you should choose one with the background color patterns consistent background color. 

  LEFTMARGIN, TOPMARGIN: Edge blank page.    (INTERNET EXPLORER effective only) 

  LEFTMARGIN: the left side blank page. 
  TOPMARGIN: top marginal gap. 
  MARGINWIDTH, MARGINHEIGHT: Edge blank page.    (NETSCAPE NAVIGATOR effective only) 
  MARGINWIDTH: blank page-width MARGINHEIGHT: upper and lower Margin highly blank 


  Here, the first time we met INTERNET EXPLORER and NETSCAPE NAVIGATOR support of the different markings.    Because of the cruel business competitiveness, as the two largest browser software developers, and NETSCAPE MICROSOFT expansion in the HTML functions, some additional standard HTML no markings.    Because each other conservative business secrets, the development of two different markers.    Fortunately, both for their own browser unable to identify the markings will not be error, simply ignored.    Thus, we have the support of their respective markers are added, we can achieve the same effect.    On this example, if we want to create a page, use both browser, the page is blank-0, can be written like this: 

  <BODY LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0"> 

  After we will often encounter a similar situation, as long as we put them all write together, we can. 

  Due to space limitations, we can only give you so much, would like to make your home a reference value. 

Related articles:

Flash in the MP3 import and synchronization methods lyrics
  Several common understanding music format:    1, mp3 (mpeg-1 audio layer 3): to be high-quality, low sampling rate of digital audio files compressed.    In other words, audio files (mainly large files, such as WAV files) to a small loss in the quality of circumstances (hu...
ASP.NET AJAX 1.0 Beta 2 released
  Unexpectedly not at how many days, Beta 2 has been out.    It is a pity that only the previous changes things, I hope the tractors control has not added.    . NET Framework 3.0 released, and has not yet familiar with 2.0 has entered the era of 3.0, and You  ...
Flash production darkness and rain water ripples animation splash
  Related Articles: Practical Programming Flash 5 animation production - rain    In some brilliant Flash can be seen in the film, often fishes and the effect of rain, gives us a warm and romantic feeling.    The production of rain fell from the night sky, splashing water a...
AJAX for asp.net plug-in installation and testing
  First, the installation chapter    As Google and Yahoo promotion, AJAX now become the site of new and emerging technologies.    AJAX is Asnychronize Javascript and XML (Asynchronous Javascript and XML).    The basic principle is that the web page when a user tr...
Fireworks batch scaling with size picture
  Perhaps this is a large site with the most features, because they always have a lot of plans to enlarge narrowing of the recent visit of the operation.    And FW can easily get.    Add in the Batch dialog zoom (Scale) to change the picture width and high output.  &...