HTML5 동영상강좌 바로가기 

댓글 목록

HTML 태그 - noscript

페이지 정보

작성자 운영자 작성일 14-12-11 13:02 조회 6,528 댓글 0

본문

 

HTML 태그 - noscript

<noscript>태그는 script가 브라우저에서 실행되지 않을 때(브라우저가 지원하지 않거나 브라우저 설정에서 막았을 경우) 사용합니다. 자바스크립트가 실행되지 않는 환경을 위한 배려라고 할 수 있습니다.


샘플

<!DOCTYPE html>
<html>
 <head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  <meta name="author" content="코리아뉴스" />
  <title> html공부 </title>
  <link rel="stylesheet" type="text/css" href="default.css" / >
  <style type="text/css">
  body {
   color:red;
  }
  </style> 
  <script type="text/javascript" src="sample.js"> </script>
  <noscript>스크립트가 지원되지 않는 상태입니다. </noscript>
 </head>
 <body>
  <section>
   <h1>noscript태그</h1>         
   <p>스크립트가 적용되지 않는 브라우저를 위한 배려</p>           
  </section>
  <div id="related">
   <p>영역 </p>
  </div>
  <footer>
     <address> 전화 : 031-574-3659, E-mail : master@koreanews.com </address> 
                          Copyright ⓒ 2013 Koreanews co.,  All Rights Reserved.
  </footer>
 </body> 

</html> 

댓글목록 0

등록된 댓글이 없습니다.


HTML5 동영상강좌 바로가기