Some notes while learning html.
- Ctrl + L = select the whole line
- Ctrl + / = comment the whole line
- Select a piece of tag, Alt + F3 = quick find / multi cursor
- Ctrl + Shift + Up / Down = hold the selected linds and swap
- Alt + . = close the tag
- Always remember to wrap <p> and </p> around if you want to write text. Text without <p> may cause error.
- html +
Tab= <html></html> - #MyID +
Tab= <div id="MyID"></div> - ul#MyID +
Tab= <ul id="MyID"></ul> - div>p +
Tab= <div><p></p></div> - ul>li*3 +
Tab= <ul>
<li></li>
<li></li>
<li></li>
</ul>
AndTabwill keep getting you through the three lists.
AndShift+Tabwill help you to get you back. - ul>li{hello} +
Tabwith the cursor at the end of the line = <ul>
<li>hello</li>
</ul> - h1+p +
Tab= <h1></h1>
<p></p>