HTML coding method

Source: Internet
Author: User

<! --...---> Annotation
<!> Marquee
<Marquee>... </marquee> normal rolling
<Marquee behavior = slide>... </marquee> slide
<Marquee behavior = scroll>... </marquee> default Rolling
<Marquee behavior = alternate>... </marquee>
<Marquee direction = down>... </marquee> scroll down
<Marquee direction = up>... </marquee> scroll up
<Marquee direction = right> </marquee> scroll to the right
<Marquee direction = 'left'> </marquee> scroll left
<Marquee loop = 2>... </marquee> volume count
<Marquee width = 180>... </marquee> set the width.
<Marquee Height = 30>... </marquee> set the height.
<Marquee bgcolor = ff0000>... </marquee> set the background color.
<Marquee scrollamount = 30>... </marquee> sets the rolling distance.
<Marquee scrolldelay = 300>... </marquee> set the rolling time.
<!> Font Effect
<H1>... <H6>... </H6> title (minimum)
<B>... </B> bold Chinese
<Strong>... </strong> bold (emphasized)
<I>... </I> italics
<Em>... </em> italics (emphasis)
<Dfn>... </dfn> italic (indicating definition)
<U>... </u> bottom line
<Ins>... </INS> bottom line (indicating text insertion)
<Strike>... </strike> horizontal line
<S>... </S> strikethrough
<Del>... </del> strikethrough (delete)
<KBD>... </KBD> keyboard text
<Tt>... </tt> font
<XMP>... </XMP> fixed-width font (in the file blank, line feed, positioning function is effective)
<Plaintext>... </plaintext> fixed-width font (without marking)
<Listing>... </listing> fixed-width small font
<Font color = 00ff00>... </font> font color
<Font size = 1>... </font> minimum font
<Font style = 'font-size: 100 PX '>... </font> unlimited increase
<!> Cut mark
<HR> horizontal line
<HR size = '9'> horizontal line (set size)
<HR width = '000000'> horizontal line (Set width)
<HR color = 'ff000000'> horizontal line (set color)
<Br> (line feed)
<Nobr>... </nobr> waters (no line feed)
<P>... </P> water area (Section)
<Center>... </center>
<!> Link format
<Base href = address> (preset link path)
<A href = address> </a> external link
<A href = address target = '_ blank'> </a> external link (new window opens)
<A href = address target = '_ top'> </a> external link (full-Window link)
<A href = address target = 'page box name'> </a> external link (link in the specified page box)
<!> Textures/music
Texture
set the image width.
set the Image Height.
set the image prompt text
set the image border
<Bgsound src = mid music file address> background music settings
<!> Table syntax
<Table aling = left>... </table> table location, left
<Table aling = center>... </table>
<Table background = image path>... </table> the URL of the background image is the path URL.
<Table border = border size>... </table> set the border size of the table (using numbers)
<Table bgcolor = color code>... </table> set the background color of the table.
<Table borderclor = color code>... </table> set the color of the table border.
<Table borderclordark = color code>... </table> set the color of the dark border of the table.
<Table borderclorlight = color code>... </table> set the color of the highlighted border of the table.
<Table cellpadding = parameter>... </table> specifies the spacing between the content and the grid lines (using numbers)
<Table cellspacing = parameter>... </table> specifies the distance between the gridline and the gridline (using numbers)
<Table Cols = parameter>... </table> specifies the number of columns in the table.
<Table Frame = parameter>... </table>: sets the display mode of the table outer frame line.
<Table width = width>... </table> specifies the table width (using numbers)
<Table Height = height>... </table> specifies the table height (using numbers)
<TD colspan = parameter>... </TD> specifies the number of columns in the merge column of the bucket (using numbers)
<TD rowspan = parameter>... </TD> specifies the number of columns in the merged column of the bucket (using numbers)
<!> Split Window
<Frameset Cols = "20%, *"> split the left and right sides. The browser automatically adjusts the size of the right frame to 20%.
<Frameset rows = "20%, *"> split up and down. The browser automatically adjusts the size of the frame below 20%.
<Frameset Cols = "20%, *"> split the Left and Right frames.
<Frameset Cols = "20%, *, 20%"> split the left, middle, and right frames.
<Split up and down two frameworks
<Frameset rows = "20%, *, 20%"> split the upper and lower frames.
<! --...---> Annotation
<A href target> specify the hyperlink split window
<A href = # Name of the anchor> specify the hyperlink of the anchor name
<A href> specify a hyperlink
<A name = anchor Name> name of the connected Node
<Address>... </address> is used to display the email address.
<B> bold Chinese
<Base target> specify the hyperlink split window
<Basefont size> change the default font size
<Bgsound SRC> Add background music
<Big> display Large fonts
<Blink> blinking text
<Body text link vlink> set text color
<Body> display this article
<Br> line feed
<Caption align> set the table title Position
<Caption>... </caption> adds a title to the table.
<Center> align to center
<Cite>... <cite> is used to draw a classic text.
<Code>... </code> is used to list a piece of program code.
<Comment>... </comment> Add comments
<DD> set the project description of the definition list
<Dfn>... </dfn> display "Definition" Text
<Dir>... </dir> list text volume labels
<DL>... </dl> set the tag of the definition list
<DT> set the items in the definition list
<Em> emphasis
<Font face> any specified font
<Font size> set the font size.
<Form action> set the processing method of user-defined forms
<Form method> set the data transmission mode of a mobile form
<Frame marginheight> set the upper and lower boundary of the window
<Frame marginwidth> set the left and right boundary of the window
<Frame Name> name the split window
<Frame noresize> lock the split window size
<Frame scrolling> set the scroll bar of the split window.
<Frame SRC> Add HTML files to the window
<Frameset Cols> split the window into left and right subwindows.
<Frameset rows> split the window into upper and lower subwindows.
<Frameset>... </frameset> split window
<H1> ~ <H6> set the text size
<Head> indicates the file information.
<HR> Add gridlines
<HTML> start and end of a file
<I> italics
adjust the image position
Add images to your image
Add a video
insert an image and preset the image size.
insert an image and preset the Left and Right Border of the image
preload image Function
set the Image Boundary
insert an image
insert an image and preset the upper and lower boundary of the image
<Input type name value> Add an input field to the form
<Isindex> define the Query Form
<KBD>... </KBD> indicates the user's input text.
<Li type>... </LI> List of items (symbol can be specified)
<Marquee> running headlight Effect
<Menu>... </menu> text scroll bar
<Meta name = "refresh" content URL> automatically updates the File Content
<Multiple> You can select multiple columns at the same time.
<Noframe> define text that does not show split windows
<Ol>... </OL> list with serial numbers
<Option> define the items in the list column of the form.
<P align> set the alignment direction
<P> Segmentation
<Person>... </person>
<PRE> use original arrangement
<SAMP>... </SAMP> is used to reference words.
<SELECT>... </SELECT> define the list bar in the form
<Small> show small font
<Strike> text with a horizontal line
<Strong> used to strengthen tone
<Sub> subscript
<Sup> superscript
<Table border = n> adjust the table's wide line height
<Table cellpadding> adjust the boundary of the Data Field bit
<Table cellspacing> adjust the table line width.
<Table height> adjust the table height.
<Table width> adjust the table width.
<Table>... </table>
<TD align> adjust the left and right alignment of table fields
<TD bgcolor> set the background color of table fields
<TD colspan rowspan> MERGE table fields
<TD nowrap> disable line breaks for table fields
<TD valign> adjust the upper and lower alignment of table fields
<TD width> adjust the table field width
<TD>... </TD> defines the data domain bit of the table.
<Textarea name rows Cols> Number of columns added to the form in the text input Column
<Textarea wrap> determines whether a text line is automatically entered.
<TH>... </Th> defines the header field of the table.
<Title> file title
<Tr>... </tr> defines a row in the table.
<Tt> typewriter font
<U> text plus bottom line
<Ul type>... </ul> list without serial number (you can specify a symbol)
<Var>... </var> is used to display variables.

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.