قابل تلاش، قابل پرنٹ Emmet حوالہ: نیسٹنگ آپریٹرز، ضرب، گروپنگ، خصوصیات، HTML اور CSS مخففات۔ مفت۔

Nesting operators

8
div>ul>li
> child: li inside ul inside div
div+p+blockquote
+ sibling: elements on the same level
div+div>p>span+em
Combine child and sibling operators
div+div>p>span+em^bq
^ climb up: bq is a sibling of p
div+div>p>span+em^^^bq
Each ^ climbs one more level up
nav>ul>li*4>a
A four-link navigation in one line
ul>li>a[href=#]{Link}
Nest, attribute and text combined
div>p+p+p
One parent, three paragraph children

Multiplication & numbering

9
ul>li*5
* repeats the element 5 times
li.item$*3
$ = counter: item1, item2, item3
li.item$$$*3
Pad with zeros: item001, item002...
li.item$@-*3
@- counts down: item3, item2, item1
li.item$@3*5
@3 starts counting at 3 (3..7)
li.item$@-3*5
Count down ending at 3 (7..3)
h$[title=item$]{Header $}*3
$ works in tag, attribute and text
ul>li*3>a{Link $}
Counter follows the repeated parent
td*5
Five empty table cells

Grouping

8
div>(header>ul>li*2>a)+footer>p
() groups a subtree; footer stays in div
(div>dl>(dt+dd)*3)+footer>p
Nested groups, repeated dt/dd pairs
(li>a)*5
Multiply a whole group, not one tag
ul>(li>a{Item $})*4
Grouped repeat with counters
(header+main+footer)
Page skeleton as one abbreviation
table>(tr>td*3)*4
4x3 table via nested groups
(div.col)*2
Two sibling columns
section>(h2+p)*3
Repeat heading + paragraph blocks

ID, class & attributes

10
div#header
# sets the id attribute
div.title
. sets the class attribute
p.class1.class2.class3
Chain multiple classes
form#search.wide
Combine id and class
#page
No tag: div is implied
.card
Same: expands to div.card
td[title="Hello" colspan=3]
[] sets custom attributes
a[href=# data-id=5]
Multiple attributes, space-separated
input[type=text required]
Boolean attributes need no value
img[src=logo.png alt=Logo]
Quotes optional for simple values

Text & implicit tag names

9
a{Click me}
{} inserts text into the element
a{click}+b{here}
<a>click</a><b>here</b>
a>{click}+b{here}
<a>click<b>here</b></a>: b inside a
p>{Text }+a{link}+{ more}
Mix raw text nodes and elements
.wrap>.content
div is implied at block level
em>.hint
Inside inline: span is implied
ul>.item*3
Inside ul/ol: li is implied
table>.row>.col
tr and td are implied in tables
select>.opt*3
option is implied inside select

HTML boilerplate

10
!
Full HTML5 boilerplate (html:5)
html:5
Same: doctype, head, meta, body
!!!
Just the <!DOCTYPE html> line
meta:utf
<meta charset="UTF-8">
meta:vp
Responsive viewport meta tag
link
<link rel="stylesheet" href="">
link:css
Stylesheet link to style.css
link:favicon
Favicon link tag
script:src
<script src=""></script>
doc
Document without the doctype

Common HTML abbreviations

14
a
<a href=""></a>
a:mail
<a href="mailto:"></a>
img
<img src="" alt="">
btn
<button></button>
form:post
Form with method="post"
input:email
Email input with name and id
input:password
Password input
input:checkbox / input:radio
Checkbox / radio inputs
input:submit
Submit button input
sel>opt*3
Select with three options
label+input
Label and input pair
tarea
<textarea></textarea>
table+
table>tr>td expanded
ol+ / ul+ / dl+
List with its first item(s)

CSS abbreviations

15
m10
margin: 10px;
p10-20
padding: 10px 20px;
m10-auto
margin: 10px auto;
w100 / h50
width: 100px; / height: 50px;
df
display: flex;
dib / dn
display: inline-block; / none;
pos:a / pos:r / pos:f
position absolute/relative/fixed
t0+l0
top: 0; left: 0;
fz14
font-size: 14px;
fwb / fw700
font-weight: bold / 700
c#f00
color: #f00;
bgc#fff
background-color: #fff;
bd+
border: 1px solid #000;
tac / tar
text-align: center / right
bdrs5
border-radius: 5px;

CSS values & units

11
m10
Integers default to px: 10px
m10p
p suffix = percent: 10%
m1.5
Floats default to em: 1.5em
m10e
e suffix = em: 10em
m10r
r suffix = rem: 10rem
m10x
x suffix = ex unit
w100p
width: 100%;
m-10
Negative value: margin: -10px;
m10-20-30-40
Four values: top right bottom left
lh1.5
line-height: 1.5em (or unitless)
fz2r
font-size: 2rem;

Vendor prefixes

9
-bdrs
Prefix with all vendors + plain
-wm-trf
Only -webkit- and -moz- variants
-w-bxsh
w=webkit, m=moz, s=ms, o=opera
trf:r
transform: rotate(angle);
trf:s
transform: scale(x, y);
trs
transition shorthand
anim
animation shorthand
us:n
user-select: none;
-super-foo
Unknown props get prefixed too

Wrap & editor actions

11
Wrap with Abbreviation
Wrap the selection in an abbreviation
ul>li*
While wrapping: one li per line
a[href=$#]{$#}
$# outputs the wrapped content
Balance (outward/inward)
Select the matching tag pair
Go to Matching Pair
Jump between open and close tags
Remove Tag
Delete a tag, keep its children
Split/Join Tag
Toggle <p></p> and <p/> forms
Toggle Comment
Comment out the current tag/rule
Increment Number by 1/10/0.1
Bump a number under the cursor
Select Next/Previous Item
Hop between tags, attrs, classes
Update Image Size
Insert real width/height of an img

کوئی اندراج “:q” سے میل نہیں کھاتا۔


Emmet چیٹ شیٹ کے بارے میں

یہ Emmet چیٹ شیٹ مخفف سنٹیکس کو ایک قابل تلاش صفحے میں بدل دیتی ہے: نیسٹنگ آپریٹرز، ضرب اور نمبرنگ، گروپنگ، ID، کلاس اور خصوصیت کا سنٹیکس، متن اور ضمنی ٹیگ نام، HTML بوائلر پلیٹ، عام HTML مخففات، CSS مخففات، CSS ویلیوز اور یونٹس، وینڈر پریفکسز، اور ریپ اور ایڈیٹر ایکشنز۔

آپریٹرز یاد ہو جائیں تو Emmet اپنی قیمت وصول کر دیتا ہے: چائلڈ، سبلنگ اور اوپر چڑھنے والے حروف، ضرب اور $ نمبرنگ جو پوری فہرست بنا دیتی ہے، اور CSS شارٹ ہینڈز جو تین حروف سے پراپرٹی اور اس کی ویلیو پھیلا دیتے ہیں۔ ہر قطار مخفف اور وہ مارک اپ یا CSS دکھاتی ہے جس میں وہ پھیلتا ہے۔

اس گروپ کی ہر چیٹ شیٹ کی طرح یہ مفت اور کلائنٹ سائیڈ ہے: سرچ باکس سے قطاروں کو لائیو فلٹر کریں، چپکے رہنے والی فہرست مضامین سے حصوں کے درمیان کودیں، ایک کلک سے کوئی بھی مخفف کاپی کریں اور اپنے ایڈیٹر میں حوالے کے لیے صفحہ پرنٹ کریں۔

Emmet چیٹ شیٹ استعمال کرنے کا طریقہ

  1. شیٹ کھولیں اور حصوں کا جائزہ لیں، Nesting operators سے لے کر Wrap & editor actions تک۔
  2. numbering، boilerplate یا grid جیسا کوئی کلیدی لفظ تلاش کریں تاکہ ہر قطار لائیو فلٹر ہو جائے۔
  3. جب آپ کو مارک اپ کے بجائے پراپرٹی شارٹ ہینڈز چاہیے ہوں تو CSS abbreviations پر جائیں۔
  4. مخفف کو اپنی کلپ بورڈ پر کاپی کرنے کے لیے اس پر یا اس کے کاپی آئیکن پر کلک کریں، پھر اپنے ایڈیٹر میں اسے پھیلائیں۔
  5. مکمل Emmet حوالے کی کاغذی کاپی کے لیے Print استعمال کریں۔

اکثر پوچھے جانے والے سوالات

گیارہ حصے: نیسٹنگ آپریٹرز، ضرب اور نمبرنگ، گروپنگ، ID، کلاس اور خصوصیات، متن اور ضمنی ٹیگ نام، HTML بوائلر پلیٹ، عام HTML مخففات، CSS مخففات، CSS ویلیوز اور یونٹس، وینڈر پریفکسز، اور ریپ اور ایڈیٹر ایکشنز۔

جی ہاں: Emmet VS Code میں شامل ہے، اور زیادہ تر دوسرے جدید ایڈیٹرز اور IDEs کے ساتھ بھی آتا ہے، لہٰذا اس شیٹ کے مخففات بغیر کسی سیٹ اپ کے پھیل جاتے ہیں۔

ضرب اور نمبرنگ کا حصہ * آپریٹر کو $ پلیس ہولڈرز کے ساتھ دکھاتا ہے، جن میں زیرو پیڈنگ اور آغاز کے آفسیٹ بھی شامل ہیں، تاکہ ایک مخفف عناصر کی نمبر والی فہرست بنا دے۔

جی ہاں۔ کسی بھی قطار یا اس کے کاپی آئیکن پر کلک کریں اور مخفف فوراً کاپی ہو جاتا ہے۔

جی ہاں، یہ مکمل طور پر مفت ہے اور بغیر لاگ ان کے آپ کے براؤزر میں چلتا ہے۔

شیئر کریں

مقبول تلاشیں
emmet چیٹ شیٹ emmet مخففات emmet html شارٹ کٹس emmet css مخففات emmet سنٹیکس حوالہ vs code emmet شارٹ کٹس emmet ضرب اور نمبرنگ
مدد چاہیے؟
اس ٹول میں کوئی مسئلہ ملا؟ ہماری ٹیم کو بتائیں۔
مسئلہ رپورٹ کریں

اس مفت ٹول کو اپنی ویب سائٹ پر شامل کریں: نیچے دیا گیا کوڈ کاپی اور پیسٹ کریں۔