扫码下载编程狮APP
<!DOCTYPE html> <html> <body> <style> .foo { color: red } </style> <script type='text/javascript'> var el = document.getElementsByTagName("style")[0]; console.log(el.innerHTML); </script> </body> </html>
The code above is rendered as follows:
联系方式:
扫描二维码
下载编程狮App
扫码关注 领资料包