Home > Web Front-end > H5 Tutorial > When writing html5, debugging found that the script php and other web pages js, css, etc. were invalid_html5 tutorial skills

When writing html5, debugging found that the script php and other web pages js, css, etc. were invalid_html5 tutorial skills

WBOY
Release: 2016-05-16 15:48:38
Original
1871 people have browsed it

Recently, when writing HTML5, I simply debugged it and used it in conjunction with PHP. I found that in many cases js, css, etc. would fail and the page would display abnormally, which was not the case before when it was not HTML5. After consulting all kinds of information, I found after debugging: The web page is still cached when jumping. It is necessary to point out the relationship between the original web page and the web page after the jump. Therefore, in the code:

1. Use the form to jump To transfer, you need to add target in the form element, such as:

Copy the code
The code is as follows:



2. To use a hyperlink to jump, you need to specify rel in a. Available:

Copy code
The code is as follows:
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