HTML 01: Page tag (TAGS)

Source: Internet
Author: User
Tags blank page
Document directory
  • <Body bgcolor = # text = # Link = # alink = # vlink = #>
  • # = Rrggbb
  • Basic syntax <a href = "url">... </a>
  • <A href = "url" target = "window_name">... </a>
  • <HR>
  • <HR size = #>
  • <HR width = #>
  • <HR Align =#>#= left, right
  • <HR noshade>
Page tag)

 

 

Document ures <HTML>... <Head>... <Body>... </body>
<HTML> 

Character Set Information <meta http-equiv = "Content-Type" content = "text/html; charset = #">
# =
US-ASCII, iso-8859-1, X-Mac-Roman, iso-8859-2, X-Mac-ce,
Iso-2022-jp, X-sjis, X-EUC-JP,
EUC-KR, iso-2022-kr,
Gb_2312-80, gb2312,
X-EUC-TW, x-cns11643-1, x-cns11643-2, big5

You can set mime Character Set Information in HTML files.
When you browse the home page, you 'd better select the appropriate language (Language encoding) from the Options menu of the browser ).
However, if the settings are specified in the HTML file, the browser automatically sets the language options.
In particular, if the entity is used in the homepage, the homepage should specify the character set information.
Otherwise, the display may be messy if the language options are not correctly set when you browse the home page.

 

Background Color and text color <body bgcolor = # text = # Link = # alink = # vlink = #>
Bgcolor --- background color
Text --- the color of non-connectable text
Link --- the color of the link text
Alink --- the color of the link text being clicked
Vlink-the color of the link text that has been clicked (accessed)

# = Rrggbb
The color is represented by a hexadecimal red-green-blue (RGB) value.
Hexadecimal digital: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.

 

Background Image <body background = "image-URL">
Non scrolling background <body bgproperties = Fixed>
 

Blank Page (margin)

Blank on the left of the page <body leftmargin = #>
Blank at the top of the page (tiantou) <body topmargin =#>#= margin amount
 

Link)

Basic syntax <a href = "url">... </a>
This is
<A href = "SAMP/link.html"> link example </a>.
Click the underlined text!

This is a link example. Click the underlined text!

 

 

Jump to another place on the page
<A href = "# name">... </a>
<A name = "name">... </a>
<A href = "# Jump-test"> jump to the next "Link" </a> <p>
<A name = "Jump-test"> next link </a>

Jump to the next "Link"

Next Link

 

Jump to another page somewhere
<A href = "url # name">... </a>
<A name = "name">... </a>
Go to <a href = "SAMP/link.html # Jump-test"> somewhere </a> on another page.

Jump to a place on another page.

 

Open a new (browser) window (target window)

<A href = "url" target = "window_name">... </a>
<A href = "SAMP/window.html" target = "window_name">
Open a new window!
</A>

Open a new window!

 

Ruler line <HR>

<HR>

 

 

 
<HR size = #>

<HR size = 10>

 

 

 
<HR width = #>

<HR width = 50>
<HR width = 50%>

 

 

 
<HR Align =#>#= left, right

<HR width = 50% align = left>
<HR width = 50% align = right>

 

 

 
<HR noshade>

<HR noshade>

 

 

 
<HR color = #>
# = Rrggbb hexadecimal RGB digital, or the following predefined colors:
Black, Olive, teal, red, blue, maroon, navy, gray, lime,
Fuchsia, white, green, purple, silver, yellow, Aqua

<HR color = "red">

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.