HTML

分享到:
评论
anmei2010
  • 浏览: 55114 次
  • 性别: Icon_minigender_1
  • 来自: 武汉
最近访客 更多访客>>
社区版块
存档分类
最新评论
<td style

Basic tags

<html></html>

Creates an HTML document

HTML

<head></head>

Sets off the title and other
information that isn''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''t displayed
on the Web page itself

WEB

<body></body>

Sets off the visible portion of
the document

 

 

Header tags

<title></title>

Puts the name of the document
in the title bar

 

 

Body attributes

<body bgcolor=?>

Sets the background color,
using name or hex value

色, 使

<body text=?>

Sets the text color, using
name or hex value

色, 使

<body link=?>

Sets the color of links,
using name or hex value

色, 使

<body vlink=?>

Sets the color of followed
links, using name or hex value

使 色, 使

<body alink=?>

Sets the color of links on click

色, 使

 

 

Text tags

<pre></pre>

Creates preformatted text

<h1></h1>

Creates the largest headline

<h6></h6>

Creates the smallest headline

<b></b>

Creates bold text

<i></i>

Creates italic text

<tt></tt>

Creates teletype, or
typewriter-style text

<cite></cite>

Creates a citation, usually
italic

用,

<em></em>

Emphasizes a word (with italic
or bold)

词( 体)

<strong></strong>

Emphasizes a word (with italic
or bold)

词( 体)

<font size=?></font>

Sets size of font, from 1 to 7

小, 1 7

<font color=?></font>

Sets font color, using name or
hex value

色, 使

 

 

Links

<a href="URL"></a>

Creates a hyperlink

<a href="mailto:EMAIL">
</a>

Creates a mailto link

<a name="NAME"></a>

Creates a target location within
a document

<a href="#NAME"></a>

Links to that target location
from elsewhere in the document

 

 

Formatting

<p>

Creates a new paragraph

<p align=?>

Aligns a paragraph to the left,
right, or center

左、 中、

<br>

Inserts a line break

<blockquote>
</blockquote>

Indents text from both sides

<dl></dl>

Creates a definition list

<dt>

Precedes each definition term

<dd>

Precedes each definition

<ol></ol>

Creates a numbered list

<li>

Precedes each list item, and adds
a number

前,

<ul></ul>

Creates a bulleted list

<li>

Precedes each list item, and adds
the bullet

前,

<div align=?>

A generic tag used to format large
blocks of HTML, also used for
stylesheets

你可能感兴趣的:(html,Web)