Apr 24, 2019

2. Several HTML grammars (HTML 몇가지 문법)

- Begin a new line (줄바꿈)
  : <br />

-  Space bar (띄어쓰기)
  : &nbsp

- Annotation (주석처리)
  : <!--  xxxxxx   -->

- Left/Center/Right alignment (왼쪽, 가운데, 오른쪽 정렬)
  : <div style="text-align:left or center or right">
    xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    </div>

- Block drag (드래그 방지) 
  아래 소스를 테마->HTML편집란에 추가하기
  : html, body, div, span, object,  
 form, input, h1, h2, button, label, a, img {  
  -moz-user-select: none;  
  -ms-user-select: none;  
  -webkit-user-select: none;  
  /* this will work for QtWebKit in future */  
  -webkit-user-drag: none;  
 }

No comments:

Post a Comment