Webpage label verification method and device
A technology of page label and verification method, applied in the field of page label verification method and device, can solve problems such as poor compatibility, and achieve the effect of solving poor compatibility and improving compatibility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] In this embodiment, a page label verification method is provided, figure 1 is a flowchart of a page label verification method according to an embodiment of the present invention, such as figure 1 As shown, the process includes the following steps:
[0032] Step S102, obtaining verification rules stored in Cascading Style Sheets (CSS for short) of the page tag, wherein the verification rule is used to indicate a preset condition that the value corresponding to the page tag needs to meet;
[0033] Step S104, verifying the page label according to the verification rule.
[0034] Optionally, the above page tag verification method may be applied to, but not limited to, a scenario of page tag verification. For example: the scene of verifying the value of the page tag in the web page.
[0035] Optionally, in this embodiment, the above-mentioned verification rules can be added to the class attribute value in the cascading style sheet CSS. For example: start the validation ru...
Embodiment 2
[0050] In this embodiment, a device for verifying page tags is also provided, which is used to implement the above embodiments and preferred implementation modes, and what has been explained will not be repeated here. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
[0051] figure 2 is a structural frame of a page label verification device according to an embodiment of the present invention Figure 1 ,like figure 2 As shown, the device includes:
[0052] The obtaining module 22 is used to obtain the verification rules stored in the cascading style sheet CSS of the page tag, wherein the verification rule is used to indicate the preset condition that the value corresponding to the page tag needs to...
Embodiment 3
[0074] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM / RAM, disk, CD) contains several instructions to enable a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present invention.
[0075] The embodiment of the invention also provides a storage medium. Optionally, in this embodiment, the above-mentioned storage medium may be conf...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com