Is wxml the same as html5?

WBOY
Release: 2022-01-23 17:47:43
Original
3831 people have browsed it

wxml and html5 are different; wxml is a set of tag languages ​​​​of WeChat, which can only be previewed in the WeChat applet development tool, while html5 is the fifth revision of hypertext markup language, which can be browsed in In-device preview.

Is wxml the same as html5?

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

Is wxml the same as html5

wxml is different from html5.

wxml

WXML (WeiXin Markup Language) is a set of tag languages ​​of WeChat. Combined with basic components and event systems, the structure of the page can be constructed. , the basic components are similar to tags in HTML. The event system is an event in JavaScript, which can process logic and reflect it on the interface;

wxml is just a file format. If there are no components and events, it is of no use. And if There is no use writing components and events in txt documents, so no one is more powerful and they complement each other.

html

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.

Use the following simple examples to see what capabilities WXML has:

Data binding

<!--wxml--><view> {{message}} </view> 
// page.jsPage({ 
  data: { 
    message: &#39;Hello MINA!&#39; 
  } 
})
Copy after login

List rendering

<!--wxml--><view wx:for-items="{{array}}"> {{item}} </view> 
// page.jsPage({ 
  data: { 
    array: [1, 2, 3, 4, 5] 
  } 
})
Copy after login

Recommended tutorial: "html video tutorial

The above is the detailed content of Is wxml the same as 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