I. Two data labels for beginners
Tag Name |
Tag attributes |
Attribute description |
Remarks |
Data-role |
Page |
Container or try |
Indicates the role of the container. |
Header |
Title |
Content |
Content |
Footer |
Footer |
Data-transition |
Slide |
Animated effect sliding from right to left |
Page pop-up effect (usually used for page switching) |
Pop |
Open the page with the pop-up effect |
Slideup |
Animated effect sliding up |
Slidedown |
Animated effect sliding down |
Fade |
Animated Effect of gradient fading |
Flip |
Old pages fly out, new pages fly into the animation effect |
Ii. HTML tag
Tag Name |
Include attributes |
Attribute options |
Option description |
A |
Href |
# + Id (open the container with the specified id and data-role attribute as page) |
Jump to another module on the same page |
Other page names |
Jump to other pages |
Other page names + # + id |
Indicates the corresponding id module to jump to other pages. |
Rel |
None |
Open this page label |
External |
Indicates opening other pages |