Home  >  Article  >  Web Front-end  >  Can css3 only be used in html5?

Can css3 only be used in html5?

WBOY
WBOYOriginal
2022-03-28 17:59:591291browse

css3 is not only used in HTML5. As long as the browser supports CSS3, it can be used with HTML and HTML5. Currently, browsers that support some CSS3 include chrome, safari, firefox, opera, ie and other new versions. Major browsers.

Can css3 only be used in html5?

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

Can css3 only be used with HTML5?

css3 does not have to be used with HTML5. As long as the browser supports CSS3, it can be used with HTML and HTML5.

Currently no browser can fully support css3, and the css3 standard has not yet been fully released. Currently, the ones that can support part of css3 include: chrome, safari, firefox, opera, ie10 and other new versions of mainstream browsers.

No need, as long as the browser supports CSS3. Currently, browsers IE8 and below do not support CSS3, and IE9 and above support part of it.

Note: Browsers IE8 and below do not support CSS3, and IE9 and above do not support CSS3. Support part.

CSS3

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

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 Sheets) 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.

HTML5

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

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.

(Learning video sharing: css video tutorial)

The above is the detailed content of Can css3 only be used in html5?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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
Previous article:Does ie9 support css3Next article:Does ie9 support css3