HTML Basic Knowledge Four

Source: Internet
Author: User

1. Internal embedded Frame

<iframe src= "page position" width= "width" height= "height" frameboeder= "0/1 (frame border, 0 means no border; 1 means there is a border)" scrolling= "scroll bar mode Yes/no/auto (default, Automatically display scroll bar when text is extra high) ">

</iframe>

2, Sliding caption: Direction----speed à delay à number of times à mouse à style

<marquee Direction= "Sliding direction left/right/up/dowwn (the final direction, for example: Up is sliding from the bottom of the net.)" Behavior= "By default, left Scrolling mode scroll (the default is this way, lap by lap)/slide (walk only once, go to the far left or right direction)/alternate (walk around, only around the direction) "scrollmount=" speed (the greater the speed, the faster the number of milliseconds) " scrolldelay= "Delay (walk, stop)" loop= "number (number of rolling cycles, if not specified, always loop)" onmouseover= "This.stop (); (mouse over to stop scrolling" onmouseout= "This.start (); (mouse away, start scrolling) "bgcolor=" Background color "width=" width "height=" height ">

</marquee>

Example:


3. Multimedia elements:

(1) Insert music:

<bgsound src= "File location" loop= "loop count, 1 for Infinite loop" >

Example:

(2) Insert Movie:

(3) Add multimedia files:

<embed src= "file name path" width= "width" height= "Height Settings" ></embed>

4. CSS

Suffix Name: *. Css

Syntax: HTML file plus css: between

<style type= "Text/css" >

<!—------------------------------------------------------------ Annotated because it avoids browser support

/**/------------ comments in CSS styles

Memento

}

</style>

Common Properties:

Text color: Color

Font size: font-size-------------------- units px(pixels) pt(lb) em (row height)

Font: font-family

Row Height: line-height

HTML Basic Knowledge Four

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.