Home > Web Front-end > Front-end Q&A > What is css3 and HTML5

What is css3 and HTML5

青灯夜游
Release: 2021-12-29 14:57:51
Original
3158 people have browsed it

CSS3 is an upgraded version of CSS technology. Elements in the CSS3 specification can develop at different speeds because different browser manufacturers only support given features. HTML5 is the fifth major revised version of HTML. It is the specification of HTML, the core language in the Web, and a language description method for constructing Web content.

What is css3 and HTML5

The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.

What is CSS3?

CSS is the abbreviation of Cascading Style Sheets (Cascading Style Sheets). It is an application used to express HTML (Standard Generalized Markup Language) or XML (Standard Generalized Markup Language). A subset) of other file-style computer languages.

CSS can perform pixel-level precise control over the layout of element positions in web pages, supports almost all font size styles, and has the ability to edit web page objects and model styles.

CSS3 is an upgraded version of CSS (Cascading Style Sheet) technology. It was formulated in 1999. On May 23, 2001, W3C completed the working draft of CSS3, which mainly includes box model, list module and hyperlink method. , language module, background and border, text effects, multi-column layout and other modules.

One of the major changes in the evolution of CSS is the W3C's decision to break CSS3 into a series of modules. Browser vendors innovate quickly at the pace of CSS, so by taking a modular approach, elements in the CSS3 specification can move forward at different speeds because different browser vendors only support given features. But different browsers support different features at different times, which also complicates cross-browser development.

The principle of CSS3 is the same as that of CSS. It is to customize the selectors of the style sheet in the web page, and then reference these selectors in large numbers in the web page.

What is HTML5?

HTML5 is a revised version of Hypertext Markup Language (HTML), the fifth major revision; HTML is a standard programming language used to describe the content and appearance of web pages. HTML5 supports traditional HTML and XHTML style syntax along with other new features in its markup, new API, XHTML and error handling.

HTML5 is a language description method for constructing web content. HTML5 is the next generation standard of the Internet and a language method for constructing and presenting Internet content. It is considered to be one of the core technologies of the Internet. HTML was created in 1990, and HTML4 became an Internet standard in 1997 and is widely used in the development of Internet applications.

HTML5 is the specification of the core language HTML in the Web. The content that users see when browsing the web using any means is originally in HTML format. It is converted into a recognizable format through some technical processing in the browser. Information. HTML5 has made certain improvements on the basis of the previous HTML4.01. Although technical personnel may not put these new technologies into application during the development process, website development technical personnel must be aware of the new features of this technology. understand.

HTML5 was developed to resolve compatibility issues affecting the current standard HTML4. One of the biggest differences between HTML5 and previous versions of the standard is that older versions of HTML required proprietary plug-ins and APIs. (This is why a web page built and tested in one browser may not load correctly in another browser.) HTML5 provides a common interface that makes loading elements easier. For example, there is no need to install the Flash plugin in HTML5 as the element will run on its own.

The purpose of HTML5 is primarily to make it easier for web developers and browser creators to follow consensus-based standards, thereby improving compliance and enhancing compliance. It is also designed to provide a better, faster, and more consistent user experience for desktop and mobile visitors.

One of the design goals of HTML5 is to support multimedia on mobile devices. New syntax features have been introduced to support this functionality, such as video, audio and canvas tags. HTML5 also introduces new features that can truly change the way users interact with documents.

Note:

HTML5 and CSS3 are not only two new Web technology standards, but also represent the next generation of HTML and CSS technologies. Although the standard specification of HTML5 has not been officially released, the future development prospects are already foreseeable, that is, HTML5 will be used by more and more web developers. Major mainstream browser manufacturers have actively updated their products to Better support for HTML5.

HTML5 revolves around one core: building a more powerful web application development platform.

1) More descriptive tags: HTML5 introduces a lot of descriptive tags, such as for defining header, footer, navigation area (nav), sidebar (aside) ) and other tags make it very convenient for developers to build page elements.

2) Good multimedia support: For the previous troubles caused by playing audio and video through plug-ins, HTML5 has a solution. The audio tag and video tag can easily implement the response.

3) More powerful web applications: HTML5 provides amazing features, and in some cases, you can even give up using third-party technologies entirely.

4) Cross-document message communication: Web browsers will organize script interactions or influences between different domains, but this may be troublesome for trusted scripts. HTML5 introduces a set of safe and easy-to-implement solutions.

5) Web Sockets: HTML5 provides support for Web Sockets.

6) Client-side storage: HTML5's Web Storage and Web SQL Database API can build client-side persistent data for web applications in the browser.

7) More exquisite interface: The interface effect rendered by HTML5 CSS3 combination is sometimes unimaginably exquisite.

8) More powerful forms: HTML5 provides more powerful form interface controls, which are very convenient to use.

9) Improve accessibility: The content is clearer, making the user's operation easier and more convenient, and improving the experience.

10) Advanced selector: CSS3 selector can easily identify odd and even rows, check boxes, etc. of the table with fewer code marks.

11) Visual effects: part of the exquisite interface, visual effects such as shadows, gradients, rounded corners, rotation, etc.

For some browsers that do not fully support HTML5, HTML5 can easily add code that is compatible with adaptive alternative solutions to the code. After writing the HTML5 code, you can verify it with the W3C verification service (relatively, because the HTML5 standard is still evolving).

Related recommendations: "html video tutorial"

The above is the detailed content of What is css3 and HTML5. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template