You can get some older browsers (which don’t support HTML5) to support HTML5. Modern browsers support HTML5. In addition, all browsers, both old and up-to-date, automatically treat unrecognized elements as inline elements. Because of this, you can “teach” browsers to deal with “unknown” HTML elements. You can even teach IE6 (Windows XP 2001) browsers to handle unknown HTML elements. HTML5 defines eight new HTML semantic elements. All these elements are block-level elements. In order for older browsers to display these elements correctly, you can set the CSS’s You can do it for The instance directs to My first paragraph. JavaScript statement You can use the above methods to add for IE browsers Browsers of Internet Explorer 8 and earlier IE versions do not support the above methods. We can use “HTML5 Enabling JavaScript”, “shiv” created by Sjoerd Visscher to solve this problem: The above code is a comment that reads when the version of the IE browser is less than IE9 Note: domestic users please use the static resource library of this site (Google resource library is unstable in China): For IE browsers
In recent years, Geographic Information Systems (GIS) have undergone rapid development in both theoretical and practical dimensions. GIS has been widely applied for modeling and decision-making support across various fields such as urban management, regional planning, and environmental remediation, establishing geographic information as a vital component of the information era. The introduction of the “Digital Earth” concept has further accelerated the advancement of GIS, which serves as its technical foundation. Concurrently, scholars have been dedicated to theoretical research in areas like spatial cognition, spatial data uncertainty, and the formalization of spatial relationships. This reflects the dual nature of GIS as both an applied technology and an academic discipline, with the two aspects forming a mutually reinforcing cycle of progress. 11.31.1. HTML5 browser support ¶
11.31.2. Define a HTML5 element as a block element ¶
display property value is block :Example ¶
header,section,footer,aside,nav,main,article,figure{display:block;}
11.31.3. Add a new element to HTML ¶
HTML add a new element. HTML add a new element and define a style for the element, named Example ¶
My first title
document.createElement("myHero") is to add a new element to the IE browser. 11.31.4. Internet Explorer browser issu ¶
HTML5 element, but:
html5.js file and parse it.
html5shiv is a better solution. html5shiv the main problem is that the new elements proposed by HTML5 are not recognized by IE6-8, these new elements can not be used as parent nodes to wrap child elements, and the CSS style can not be applied. 11.31.5. Perfect Shiv solution ¶
Example ¶
My First Article
html5shiv.js the reference code must be placed in the element, because the IE browser needs to load the file before parsing the new HTML5 element.
Principles, Technologies, and Methods of Geographic Information Systems
102