Home >Web Front-end >Front-end Q&A >What are html5 and css3
html5 is the fifth major revision of Hypertext Markup Language HTML. Its purpose is mainly to make it easier for web developers and browser creators to follow consensus-based standards, thereby improving compliance and enhancing their Compliance. CSS3 is an upgraded version of CSS technology. It is a computer language used to express file styles such as HTML or XML.
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
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 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.
Some interesting new features in HTML5:
The canvas element for painting.
Video and audio elements for media playback
Better support for local offline storage.
New special content elements, such as article, footer, header, nav, section.
New form controls, such as calendar, date, time, email, url, search.
#What is CSS3?
CSS is the abbreviation of Cascading Style Sheets. It is an application used to express HTML (Standard Generalized Markup Language) or XML (Standard Generalized Markup Language). a subset) and 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 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.
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.
New features
There are many new features of CSS3, such as rounded corners, graphical borders, block shadows and text shadows, using RGBA to achieve transparency effects, gradients Effects, use @Font-Face to achieve customized fonts, multiple background images, text or image deformation processing (rotation, scaling, tilting, movement), multi-column layout, media queries, etc.
(Learning video sharing: css video tutorial, web front-end introductory tutorial)
The above is the detailed content of What are html5 and css3. For more information, please follow other related articles on the PHP Chinese website!