HTML5 동영상강좌 바로가기 

댓글 목록

HTML 태그 - nobr

페이지 정보

작성자 운영자 작성일 14-12-11 13:01 조회 7,374 댓글 0

본문

 

HTML 태그 - nobr

<nobr>태그는 줄바꿈을 막을 때 사용합니다. 삭제된 엘리먼트입니다. CSS로 같은 기능을 사용할 수 있습니다.

샘플

<!DOCTYPE html>
<html>
 <head>
  <title> html공부 </title>
  <link rel="stylesheet" type="text/css" href="default.css" / >
 </head>
 <body>
  <section>
   <h1>nobr태그 CSS대체</h1>
   <span style="white-space:nowrap">긴문장을 줄바꿈 없이 쭉~~~ </span>
  </section>
  <div id="related">
   <p>영역 </p>
  </div>
  <footer>
                             Copyright ⓒ 2013 Koreanews co.,  All Rights Reserved.
  </footer>
 </body> 

</html> 

댓글목록 0

등록된 댓글이 없습니다.


HTML5 동영상강좌 바로가기