Html&javaskcript&css&jquery&ajax (Fri)

Source: Internet
Author: User

One, the Framset tag defines the HTML document in each frame,

1, <framset cols= "25%,75%" >

<frame src= "frame_a.htm" > <frame src= "frame_b.htm" > </frameset>

2. Inline Frame Inframe

<iframe src= "url" ></inframe> URL just want to isolate the location of the page

The default value of the IFrame property is pixels, set by percent, <iframe src= "demo_iframe.htm" width= "height=" ></iframe>

3. Using an IFRAME as the target of the connection, the property of the link target must refer to the Nmae property of the IFRAME.

<iframe src= "demo_iframe.html" name= "iframe_a" ></iframe> <p><a href= "http/ www.w3cSchol.com.cn "target=" Iframe_a ">W3cSchool.com.cn</a></p>

4, background color settings <body> have two configuration background color label, background can make color or picture

<body background= "Clouds.gif" >< body background= "Http://ww.3cSchool.com.cn/clouds.gif" >

5. JavaScript uses HTML pages to enhance dynamic effects and interactivity

<body>

<script type= "Text/javascript" >

document.write ("

</script></body>

Like the following eg, <srcipt type= "Text/javascript" >

Dooucment.write ("Hello World") </script> <noscript> Browser does don't support JAVASCRIPT</NOSCRIPT> The script statement can be commented when the old-fashioned browser is not supported, so the browser will not execute, but the new browser will still be able to read the script statement.

eg, <script> type= "Text/javascript" >

<!--document.write ("Hello World") >

-

</script>

6. Title Tag function, define the title of the browser toolbar, provide the display title of the page to be collected, and the title of the page displayed in the search engine

A simple HTML <! DOCTYPE html>

<link> tags define relationships between resources outside of a document commonly used with connection style sheets. eg,

7, <style> tags for HTML document style information can be used to tie up the style elements of the HTML elements in the browser rendering styles.

Body {Background-color:yellow}

P{color:blue}</style>

8. HTML metadata (Metadata) <meta > tags provide metadata for the HTML document, but the metadata is not displayed on the page and the machine is scaled. Meta data can be used in browsers to reload pages, search engines (keywords) for other web services.

eg, <meta name= "description" content= "Free web Tutorials onhtml, CSS, XML"/"> Definition page Description:

<meta name= "keywords" content= "HTML, CSS, XML"/>

9, HTML entity, character entity (character entities), Url-uniform Resource Locator Consent Resource Locator (URL) for locating documents or other data on the World Wide Web, eg, http://www.w3Sch Ool.com.cn/html/index.asp follows the syntax rules scheme://host.domain:port/path/filename scheme defines the Internet service type, the host---defines the domain host DOMA In defines the domain name port is the port number

10, URL encoding, can only use the ASCLL character set to send over the Internet, URLs can not contain spaces, URL encoding often use + to replace spaces

11. Text Elements <br> line break


Html&javaskcript&css&jquery&ajax (Fri)

Related Article

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.