Web standards include html standards. Web standards, also known as web standards, refer to web design that must comply with W3C and ECMA specifications. It consists of a series of standards; in web design that meets standards, CSS, HTML, and JavaScript are called the three basic languages of web front-end design. .
The operating environment of this tutorial: Windows 7 system, CSS3&&HTML5 version, Dell G3 computer.
What are Web standards (web standards)
Web standards are also called web standards. They consist of a series of standards. Most of these standards It is formulated by W3C, and there are also some standards formulated by other standards organizations, such as ECMA's ECMAScript standard.
Web standards in a narrow sense refer to DIV CSS in web design, and Web standards in a broad sense mean that web design must comply with W3C and ECMA specifications.
In standard-compliant web design, CSS, HTML, and JavaScript are considered the three basic languages for web front-end design. Among them:
HTML is responsible for building web pages. Basic structure;
CSS is responsible for designing the performance effect of the web page;
JavaScript is responsible for developing the interactive effect of the web page.
Web page structure
Web page standards mainly organize and classify page information in web pages. Structural standards Languages mainly include XML, HTML, and XHTML.
1) XML
XML is the abbreviation of The Extensible Markup Language, which is translated into Chinese as "Extensible Markup Language". It is a language that can define other languages.
The original design goal of XML is to make up for the shortcomings of HTML and meet the needs of network information publishing with strong scalability. Now XML is mainly used as a data format for network data exchange and writing configuration files.
The XML recommendation standard is XML 1.0 released by W3C on October 6, 2000. The reference address is: https://www.w3.org/TR/2000/REC-XML-20001006.
2) HTML
HTML is the abbreviation of HyperText Markup Language, translated into Chinese as "Hypertext Markup Language", and XHTML 1.0 is based on HTML 4.0, using XML rules extend it.
The original purpose of publishing XHTML was to realize the transition from HTML to XML. In a general context, people are used to using HTML instead of HTML and XHTML.
The HTML recommended standard is XHTML 1.0 released by W3C on January 26, 2000. The reference address is: https://www.w3.org/TR/xhtml1/.
Web page behavior
Behavior standards mainly control the structure and display of web page information logically in web pages to achieve intelligent interaction on web pages. Behavioral standard languages mainly include Document Object Model (such as W3C DOM) and EMAScript.
1) DOM
DOM is the abbreviation of Document Object Model, translated into Chinese as "Document Object Model", according to the W3C DOM specification (reference address: https:// www.w3.org/DOM/), DOM is a language that allows browsers to communicate with web content, allowing users to access page elements and components.
2) ECMAScript
ECMAScript is a standard scripting language developed by the EMA (European Computer Manufactures Association) organization.
Currently the most widely used is ECMAScript 262, which is JavaScript 5.0 version. The reference address is: http://www.ecma-international.org/publications/standards/Ecma-262.htm.
Related recommendations: "html video tutorial"
The above is the detailed content of Do web standards include html standards?. For more information, please follow other related articles on the PHP Chinese website!

useState()isaReacthookusedtomanagestateinfunctionalcomponents.1)Itinitializesandupdatesstate,2)shouldbecalledatthetoplevelofcomponents,3)canleadto'stalestate'ifnotusedcorrectly,and4)performancecanbeoptimizedusinguseCallbackandproperstateupdates.

Reactispopularduetoitscomponent-basedarchitecture,VirtualDOM,richecosystem,anddeclarativenature.1)Component-basedarchitectureallowsforreusableUIpieces,improvingmodularityandmaintainability.2)TheVirtualDOMenhancesperformancebyefficientlyupdatingtheUI.

TodebugReactapplicationseffectively,usethesestrategies:1)AddresspropdrillingwithContextAPIorRedux.2)HandleasynchronousoperationswithuseStateanduseEffect,usingAbortControllertopreventraceconditions.3)OptimizeperformancewithuseMemoanduseCallbacktoavoid

useState()inReactallowsstatemanagementinfunctionalcomponents.1)Itsimplifiesstatemanagement,makingcodemoreconcise.2)UsetheprevCountfunctiontoupdatestatebasedonitspreviousvalue,avoidingstalestateissues.3)UseuseMemooruseCallbackforperformanceoptimizatio

ChooseuseState()forsimple,independentstatevariables;useuseReducer()forcomplexstatelogicorwhenstatedependsonpreviousstate.1)useState()isidealforsimpleupdatesliketogglingabooleanorupdatingacounter.2)useReducer()isbetterformanagingmultiplesub-valuesorac

useState is superior to class components and other state management solutions because it simplifies state management, makes the code clearer, more readable, and is consistent with React's declarative nature. 1) useState allows the state variable to be declared directly in the function component, 2) it remembers the state during re-rendering through the hook mechanism, 3) use useState to utilize React optimizations such as memorization to improve performance, 4) But it should be noted that it can only be called on the top level of the component or in custom hooks, avoiding use in loops, conditions or nested functions.

UseuseState()forlocalcomponentstatemanagement;consideralternativesforglobalstate,complexlogic,orperformanceissues.1)useState()isidealforsimple,localstate.2)UseglobalstatesolutionslikeReduxorContextforsharedstate.3)OptforReduxToolkitorMobXforcomplexst

ReusablecomponentsinReactenhancecodemaintainabilityandefficiencybyallowingdeveloperstousethesamecomponentacrossdifferentpartsofanapplicationorprojects.1)Theyreduceredundancyandsimplifyupdates.2)Theyensureconsistencyinuserexperience.3)Theyrequireoptim


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 English version
Recommended: Win version, supports code prompts!

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Atom editor mac version download
The most popular open source editor
