Showing posts with label BlogTip. Show all posts
Showing posts with label BlogTip. Show all posts

Apr 24, 2019

3. Website to highlight code for blog. (블로그를 위한 코드 문법 강조해 주는 사이트)

https://tohtml.com/

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;  
 }