Java Web Development--html CSS JavaScript Miscellaneous

Source: Internet
Author: User

HTML is a kind of web page that is common on the Internet to make the labeling language, and it can't be counted as a programming language. Because it lacks all of its characteristics relative to the programming language.
For web designers, using only HTML is not enough, and you need to introduce CSS styles into your pages.
The relationship between HTML and CSS is "content" and "situation", the HTML to determine the content of the page, CSS to achieve the form of the page.

CSS Rules
Include 3 parts of content in CSS style sheets: Selectors, attributes, and attribute values.
Selector {property: Property value}
Selectors: Also known as selectors, are important in the CSS of the bird, all the markup in the HTML language is controlled by a different CSS selector.
Properties: Mainly include font properties, text attributes, background properties, layout properties, Boundary properties, list item properties, table properties, and so on. Some of these properties are only supported by some browsers, making the use of CSS properties more complex.
Property value: A valid value for a property. The attribute is separated from the property value with ":", and when there are multiple attributes, use the ";" Separated


JavaScript is a more popular scripting language in Web pages. It is interpreted by the client browser and can be used in JSP, PHP, ASP and other Web sites.

JavaScript is an object-based and event-driven, interpretative scripting language with security performance and is widely used in Web applications. It does not need to be compiled, is embedded directly in the HTTP page, and transforms the static page into a dynamic page that supports user interaction and responds to application events. In Java Web programs, JavaScript is often used for data validation, browser control, and generation of clocks, calendars, and timestamp documents.

JavaScript can respond directly to the client's input in an event-driven manner without having to go through a server-side program. This means that JavaScript is event-driven.

The interaction between JavaScript and the Web page is accomplished by triggering related events by the user manipulating the browser page.

The DOM is the short name of the Document Object model, which is the application interface (API) that represents a document (such as an HTML document) and accesses and operates various elements that make up the document, such as HTML tags and text strings. It provides a separate, structured, object-oriented representation of the document, and allows access to the objects through their properties and methods.

Java Web Development--html CSS JavaScript Miscellaneous

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.