Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (25 sloc) 893 Bytes
<!DOCTYPE html>
<html xmlns:html5="http://www.w3.org/1999/xhtml">
<head>
<title>IE6-8都测试通过</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
html5\:section {
display: block;
padding: .5em;
border-left: 3px solid #ddd;
color: #999;
}
</style>
<script>
window.onload = function(){
alert( document.getElementById("aa").innerHTML)
alert( document.getElementsByTagName("section")[0].innerHTML)
alert( document.getElementsByTagName("SECTION")[0].innerHTML)
}
</script>
</head>
<body>
<html5:section id="aa">aaa<b>bbb</b>ccc</html5:section>
</body>
</html>