html code complete: Structural definition of
file type <HTML> </ HTML> (on file at the beginning and end)
file topic <TITLE> </ TITLE> (must be placed in the "packet header" block)
message header <HEAD > </ HEAD> (descriptive information, such as "theme")
style <bODY> </ bODY> (document body)
title <H?> </ H? > ( from 1-6, there are six choice)
headline alignment <H aLIGN = LEFT |? CENTER | RIGHT> <? / H>
distinguishing <DIV> </ DIV>
distinguishable aligned <DIVALIGN = LEFT | RIGHT | CENTER | JUSTIFY> </ DIV>
Citation block <BLOCKQUOTE> </ BLOCKQUOTE> (typically the retracted)
stressed <EM> </ EM> (typically shown in italics)
with particular emphasis on <STRONG> </ STRONG> (typically shown in bold)
Citation <CITE> </ CITE> (typically shown in italics)
code <cODE> </ cODE> (source display purposes)
sample <SAMP> </ SAMP>
keyboard <KBD> </ KBD>
variable <VAR> </ VAR>
The definition of <DFN> </ DFN> (some browsers do not provide)
address <ADDRESS> </ ADDRESS>
characters <BIG> </ BIG>
small print <SMALL> </ SMALL>
associated with the appearance of the label (author custom performance the way)
Bold <B> </ B>
italic <I> </ I>
baseline <U> </ U> (still some browsers do not provide)
strikethrough <S> </ S> (still some browsers do not provide)
subscript <SUB> </ SUB>
superscript <SUP> </ SUP>
typewriter body <TT> </ TT> (display font single space)
a predetermined format <PRE> </ PRE> (file space reserved size),
the width of a predetermined format <PRE wIDTH =?> </ PRE> ( calculated in character)
to the par <CENTER> </ CENTER> (text and images can be)
shining <BLINK> </ BLINK> (ever the most derided label)
the font size <? FONTSIZE => </ FONT > ( from 1-7)
to change the font size <FONTSIZE = + | -?> </ FONT>
basic font size <BASEFONTSIZE =?> (from 1 to 7; defaults to 3)
font color <FONTCOLOR = "# $$"> </ FONT> ($$ as color code)
html code complete commonly used
html code complete commonly used
html code complete: APPLICABILITY the modified HTML code pages
1) textures : <img src = "Picture address">
2) adding connection: <a href="所要连接的相关地址"> write the word you want to write </a>
3) connection is opened in a new window: <a href = "Related address "target =" _ blank "> write write word </a>
4) Mobile Font (lantern): <marquee> you want to write the write word </ Marquee>
. 5) bold font: <b> word write </ b> wants to write
6) Italic Font: <i> write word </ i> you want to write
7) underlined font: <u> write the word you want to write </ U>
8) Font strikethrough: <s> write the word you want to write </ s>
9) Font increase: <big> you want to write the write word </ Big>
10) Font size control: <h1> you want to write the write word </ h1> (where font size from the h1-h5, h1 maximum, h5 minimum)
11) to change the font color: <font color = "# value "> write the word you want to write </ font> (where value and the value 000000 ffffff (16 in hex) between
12) eliminate underscore connection: <a href="相关地址" style="text-decoration:none"> write the word you want to write </a>
13) posted Music: <embed src = "Music address" width = " width "height =" height "to false autostart =>
14) affixed flash: <embed src =" flash address "width =" width "height =" height ">
15) posted video files: <img dynsrc = "file address" width = "width" height = "height" Start mouseOver =>
16) linefeed: <br>
. 17) paragraph: <p> paragraph </ P>
18 is) Original text style: <pre> Body </ pre>
19) In other posts the background: <body background = "background picture address">
20) fixed posts background is not with the scroll bar to scroll: <body background = "background picture address" body bgproperties = Fixed>
21) custom post background color: <body bgcolor = "# value "> (value value see 10)
22) Posts background Music: <bgsound = "background music address" Loop = Infinite>
23 is) attached pages: <. iframe src = "relevant addresses" width = "width" height = "height"> </ iframes>
html code complete
html code complete
html Code Complete: the problem often encountered
Close the window <a href="javascript.:top.window.close();"> Close the window </a>!
How to remove the scroll bar to the right of the home page? <body scroll = "no"> <body style = "overflow-y: hidden">
How do make a Web page automatically turn off <html> <head> <OBJECT id = closes type = "application / x-oleobject" http. : //zzdxjyzd.comclassid= "clsid: adb880a6-d8ff -11cf-9377-00aa003b7a11"> <
How to refresh without refreshing the page css <style> button {color: # 000000;}? </ Style> <button nclick = document.styleSheets [0] .rules [0] .style.color = '' '' red '' ''> click the button to directly modify the style tag button selector button to make changes to red </ button> how to make web pages automatically refresh? In the head unit recorded in <META. HTTP-EQUIV = " Refresh" c> where 20 is the auto-refresh after 20 seconds, you can be changed to any value. How to make the page automatically refreshes? A method using Refresh
the HTML snippet as follows: <head> <. Meta http -equiv = "refresh" c> </ head> 5 showing refresh time [Ctrl + A select all Tip: You can modify part of the code, then run]
the second method uses the setTimeout control <img src = / logo.gif> < script> function rl () {document.location.reload ()} setTimeout (rl, 2000) </ SCRIPT>
how hyperlinks no underscore between the input source code <HEAD> ... </ HEAD> the following code: <style type = "text / css".> <- a {text-decoration: none} -!> </ style>
how remove IE scroll bar up and down? <
How can the RealPlayer file in a Web page to make a connection audition? <embed height = 25 src = 51js.rm type = audio / x-pn-realaudio-plugin width = 50 autostart = "false" c>
how to realize the function of the back button on the browser with html? <a href="java script.:history.go(-1)"> hits the back </a> or <script> history.back () </ SCRIPT>
You can not know HTML common code
Guess you like
Origin www.cnblogs.com/dakunqq/p/11329178.html
Ranking