요약:
설치 Sublime Text - 설치를 읽어보세요. sublime에 내장된 단축키를 사용하면 HTML 작성이 매우 빠릅니다.
다음은 일반적으로 사용되는 내용입니다. 자세한 내용은 emmet 공식 문서를 참조하세요.
태그 생성
1. 문서 구조를 빠르게 생성
!
또는html:5
, HTML5 구조를 빠르게 생성 (Tab 키를 다시 눌러야 합니다)
nbsp;html> <meta> <title>Document</title>
html:xt
HTML4 전환 생성html:4s
HTML4 엄격한 유형
2. ID가
태그 #인 ID 이름을 생성합니다. 예: p#header
<p></p>
3. class 요소
태그 포함. 클래스 이름(예: p.title
<p></p>
) 4. 하위 요소 생성: >
: nav>ul>li
<nav> <ul> <li> </ul> </nav>
5. 형제 요소 생성: +
예: p+p+p
<p></p> <p></p> <p></p>
6. 예:
<p></p> <p></p>
p^p
7. 여러 요소를 반복적으로 생성합니다: * 예:
-
-
-
-
-
ul>li*5
8. 사용자 정의
속성을 사용하여 을 생성합니다. [attr]예:
<p></p>
p[value=1]
9. 텍스트 콘텐츠 생성: {}예:
<a>Click me</a>
a{Click me}
10 . 번호 추가: $
- 1부터 시작: $
- 추가 예:
<p>01</p> <p>02</p> <p>03</p>
p.item${$$}*3
- 역순: $ @-
- 을 추가합니다(예:
<p>03</p> <p>02</p> <p>01</p>
p.item$@-{$$@-}*3
- ). 일련 번호를 지정할 수 있습니다. @N
- 사용:
<p>04</p> <p>05</p> <p>06</p>
p.item$@4{$$@4}*3
11.그룹: ()예:
(ul>ol)*3
어서종합사례01 | 02 | 03 |
01 | 02 | 03 |
01 | 02 | 03 |
table#tab[value=1].a>tr*3>(td{$$}>span)*3
CSS 생성CSS 스타일은 다양하고, 당연히 많은 약어가 있습니다. 일반적으로 사용되는 약어를 나열하고 추론해 보세요.
css 약어는 ov:h == ov-h == ovh == oh와 같은 퍼지 검색을 사용하여 일치됩니다.
- w10
- : 숨김;
<a href="http://www.php.cn/wiki/926.html" target="_blank">overflow-y</a>: hidden;
cb pt
<a href="http://www.php.cn/wiki/949.html" target="_blank">padding-top</a>: ;
pb<a href="http://www.php.cn/wiki/951.html" target="_blank">padding-bottom</a>: ;
tac
<a href="http://www.php.cn/wiki/870.html" target="_blank">text-align</a>: center;
lh
<a href="http://www.php.cn/wiki/864.html" target="_blank">line-height</a>:;
tsn
<a href="http://www.php.cn/wiki/861.html" target="_blank">text-shadow</a>: none;
tja
<a href="http://www.php.cn/wiki/881.html" target="_blank">text-justify</a>: auto;
c
color: #000;
crcolor: rgb(0, 0, 0);
cracolor: rgba(0, 0, 0, .5);
op
opacity: ;
cnt
content: '';
ol
<a href="http://www.php.cn/wiki/938.html" target="_blank">outline</a>: ;
bd+
border: 1px solid #000;
bdb+border-bottom: 1px solid #000;
bd2px#333s
border: 2px #333 solid;
<a href="http://www.php.cn/wiki/835.html" target="_blank">너비<li>: 10px; </li></a>
w10p w10e <a href="http://www.php.cn/wiki/835.html" target="_blank">width</a>: 10px;
w10x width: 10%;
width: 10em;
width: 10xe;
<a href="http://www.php.cn/wiki/836%20.html" target="_blank">높이<li>: 10px;</li></a>
<a href="http://www.php.cn/wiki/836.html" target="_blank">height</a>: 10px;
<a href="http://www.php.cn%20/wiki/902.html" target="_blank">위치<li>: 상대;</li></a>
poa <a href="http://www.php.cn/wiki/902.html" target="_blank">position</a>: relative;
position: absolute;
<a href="http%20://www.php.cn/wiki/919.html" target="_blank">float<li>: 왼쪽;</li></a>
fr float: <a href="http://www.php%20.cn/wiki/905.html" target="_blank">오른쪽<p style="text-align: left;">;</p></a>
<a href="http://www.php.cn/wiki/919.html" target="_blank">float</a>: left;
float: <a href="http://www.php.cn/wiki/905.html" target="_blank">right</a>;
dt <a href="http://www%20.php.cn/wiki/927.html" target="_blank">디스플레이<li>: 테이블;</li></a>
db dib <a href="http://www.php.cn/wiki/927.html" target="_blank">display</a>: table;
display: block;
display: inline-block;
<a href="http://www.php.cn/wiki/917.html" target="_blank">삭제<li>: 둘 다;</li></a>
<a href="http://www.php.cn/wiki/917.html" target="_blank">clear</a>: both;
<a href="http://www.php.cn/wiki/933.html" target="_blank">여백-상단<li>: ;</li></a>
mb <a href="http://www.php.cn/wiki/935.html" target="_blank">여백-하단<p style="text-align: left;">: ;</p></a>
<a href="http://www.php.cn/wiki/933.html" target="_blank">margin-top</a>: ;
快捷键
如果没作用请检查快捷键是否冲突
快速生成包裹标签:Ctrl+Shift+G
只有文本没有结构时,如下
首页 简介 动态
选中文本按快捷键Ctrl+Shift+G,再弹出的:Enter Wrap Abbreviation(输入扩展缩写)中输入nav>ul>li.item$*>a
就会生成
<nav> <ul> <li><a>首页</a></li> <li><a>简介</a></li> <li><a>动态</a></li> </ul> </nav>
如果原先的文本带编号,不想要则可以在上面的基础上加|t
,nav>ul>li.item$*>a|t
即可生成如上结果。
1首页 2简介 3动态
自动添加/更新图片尺寸:ctrl+U
光标移到标签上的任意位置,按下快捷键ctrl+U
即可。
<img src="/static/imghwm/default1.png" data-src="img/x1.png" class="lazy" alt="Sublime Text 플러그인 Emmet 사용법에 대한 자세한 설명" > <img src="/static/imghwm/default1.png" data-src="img/x1.png" class="lazy" alt="Sublime Text 플러그인 Emmet 사용법에 대한 자세한 설명" >
删除标签:shift+ctrl+;
定位到上个编辑点:ctrl+alt+left
定位到下个编辑点:ctrl+alt+right
选中下一项:shift+ctrl+.
加/减1:ctrl+up/ctrl+down
加/减10:shift+alt+up/shift+alt+down
展开缩写:ctrl+e(和tab键作用相同)
重命名标签(rename_tag):ctrl+shift+'
更换标签(update_as_you_type):ctrl+Shift+U
匹配标签对:ctrl+alt+j
生成测试文本
输入lorem
再按tab会随机生成一段英文,默认是生成30个单词,可以加上数字控制单词数量,如lorem5
。
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Perferendis incidunt, expedita voluptates ratione praesentium error a accusamus corporis deleniti. Cum, debitis id, in rem exercitationem at voluptatum illum minima corporis!
Lorem ipsum dolor sit amet.
위 내용은 Sublime Text 플러그인 Emmet 사용법에 대한 자세한 설명의 상세 내용입니다. 자세한 내용은 PHP 중국어 웹사이트의 기타 관련 기사를 참조하세요!

HTML의 역할은 태그 및 속성을 통해 웹 페이지의 구조와 내용을 정의하는 것입니다. 1. HTML은 읽기 쉽고 이해하기 쉽게하는 태그를 통해 컨텐츠를 구성합니다. 2. 접근성 및 SEO와 같은 시맨틱 태그 등을 사용하십시오. 3. HTML 코드를 최적화하면 웹 페이지로드 속도 및 사용자 경험이 향상 될 수 있습니다.

"Code"는 "Code"BroadlyIncludeLugageslikeJavaScriptandPyThonforFunctureS (htMlisAspecificTypeofCodeFocudecturecturingWebContent)

HTML, CSS 및 JavaScript는 웹 개발의 세 가지 기둥입니다. 1. HTML은 웹 페이지 구조를 정의하고 등과 같은 태그를 사용합니다. 2. CSS는 색상, 글꼴 크기 등과 같은 선택기 및 속성을 사용하여 웹 페이지 스타일을 제어합니다.

HTML은 웹 구조를 정의하고 CSS는 스타일과 레이아웃을 담당하며 JavaScript는 동적 상호 작용을 제공합니다. 세 사람은 웹 개발에서 의무를 수행하고 화려한 웹 사이트를 공동으로 구축합니다.

HTML은 간단하고 배우기 쉽고 결과를 빠르게 볼 수 있기 때문에 초보자에게 적합합니다. 1) HTML의 학습 곡선은 매끄럽고 시작하기 쉽습니다. 2) 기본 태그를 마스터하여 웹 페이지를 만들기 시작하십시오. 3) 유연성이 높고 CSS 및 JavaScript와 함께 사용할 수 있습니다. 4) 풍부한 학습 리소스와 현대 도구는 학습 과정을 지원합니다.

anexampleStartingtaginhtmlis, whithbeginsaparagraph.startingtagsareessentialinhtmlastheyinitiate rements, definetheirtypes, andarecrucialforstructurituringwebpages 및 smanstlingthedom.

메뉴에서 점선 분할 효과를 설계하는 방법은 무엇입니까? 메뉴를 설계 할 때는 일반적으로 접시 이름과 가격 사이에 왼쪽과 오른쪽을 정렬하는 것이 어렵지 않지만 점선 또는 중간의 점은 어떻습니까?

웹 코드 편집기의 HTML 요소 분석 많은 온라인 코드 편집기를 사용하면 사용자가 HTML, CSS 및 JavaScript 코드를 입력 할 수 있습니다. 최근에 누군가가 제안했습니다 ...


핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

AI Hentai Generator
AI Hentai를 무료로 생성하십시오.

인기 기사

뜨거운 도구

안전한 시험 브라우저
안전한 시험 브라우저는 온라인 시험을 안전하게 치르기 위한 보안 브라우저 환경입니다. 이 소프트웨어는 모든 컴퓨터를 안전한 워크스테이션으로 바꿔줍니다. 이는 모든 유틸리티에 대한 액세스를 제어하고 학생들이 승인되지 않은 리소스를 사용하는 것을 방지합니다.

메모장++7.3.1
사용하기 쉬운 무료 코드 편집기

드림위버 CS6
시각적 웹 개발 도구

MinGW - Windows용 미니멀리스트 GNU
이 프로젝트는 osdn.net/projects/mingw로 마이그레이션되는 중입니다. 계속해서 그곳에서 우리를 팔로우할 수 있습니다. MinGW: GCC(GNU Compiler Collection)의 기본 Windows 포트로, 기본 Windows 애플리케이션을 구축하기 위한 무료 배포 가능 가져오기 라이브러리 및 헤더 파일로 C99 기능을 지원하는 MSVC 런타임에 대한 확장이 포함되어 있습니다. 모든 MinGW 소프트웨어는 64비트 Windows 플랫폼에서 실행될 수 있습니다.

PhpStorm 맥 버전
최신(2018.2.1) 전문 PHP 통합 개발 도구

뜨거운 주제



