iT邦幫忙

0

如何產生 html 快捷鍵

我搜尋網路 html 快捷鍵和

<style type="text/css"></style> 

快捷鍵 , 找不到相關文章 , 我要產生下面 , 我打 style 按 tab 鍵 , 只產生

<style></style>

, 還有其他語法鍵的按法有哪些 , 我看影片教學 , 有的講得很快或沒講按什麼鍵

<style type="text/css"></style> 

沒有就自己用手打,這並不是什麼很困難的事。
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

2 個回答

3
阿展展展
iT邦好手 1 級 ‧ 2019-11-10 21:09:40
最佳解答
div => <div> </div>
foo => <foo> </foo>
html:5 => 将生成html5标准的包含body为空基本dom
html:xt => 生成XHTML过渡文档类型,DOCTYPE为XHTML
html:4s => 生成HTML4严格文档类型,DOCTYPE为HTML 4.01
a:mail          => <a href="mailto:"></a>
a:link          => <a href="http://"></a>
base            => <base href="">
br              => <br>
link            => <link rel="stylesheet" href="">
script:src      => <script src=""></script>
form:get        => <form action="" method="get"></form>
label           => <label for=""></label>
input           => <input type="text">
inp             => <input type="text" name="" id="">
input:hidden    => <input type="hidden" name=""> input:h亦可
input:email     => <input type="email" name="" id="">
input:password  => <input type="password" name="" id="">
input:checkbox  => <input type="checkbox" name="" id="">
input:radio     => <input type="radio" name="" id="">
select          => <select name="" id=""></select>
option          => <option value=""></option>
bq              => <blockquote></blockquote>
btn             => <button></button>
btn:s           => <button type="submit"></button>
btn:r           => <button type="reset"></button>

VsCode中使用Emmet神器快速编写HTML代码

kevin543 iT邦新手 5 級 ‧ 2019-11-10 21:57:43 檢舉

謝謝回復

還有 a img 也蠻常用的

1
dragonH
iT邦超人 5 級 ‧ 2019-11-10 20:55:38

你看起來是想要問某個 editor 的 intellisense

但是我不知道你要問的是哪個

vs code 的話

輸入 st 就有讓你可以直接選了

就算沒有

也能自己加

style[type] = <style type = ""></style>

我要發表回答

立即登入回答