사이트 내 전체검색
[javascript] noscript 태그
로빈아빠
https://cmd.kr/javascript/592 URL이 복사되었습니다.

본문

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
 <head>
  <title>Javascript Code Block Example</title>
  <meta http-equiv="Content-Type" content="text/html; charset=EUC-KR" />
 </head>
 <body>
  <script type="text/javascript">
   document.onload=hello();
   function hello(){
    var dt = Date();
    var msg = "Today is " + dt;
    alert(msg);
   }
  </script>
  <noscript>
   <a href="js1.html">자바스크립트가 동작하지 않습니다.</a>
  </noscript>

 </body>
</html>

댓글목록

등록된 댓글이 없습니다.

831 (1/17P)

Search

Copyright © Cmd 명령어 18.189.170.206