-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblogpage1.html
113 lines (94 loc) · 5.94 KB
/
blogpage1.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NehaShanbhag</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav class="navigation">
<a style="color:white; text-decoration: none; "href="index.html">MyPortfolio</a>
<ul class="nav-pills">
<li class="list-item-inline "><a class="link " href="blog.html">Back</a></li>
</ul>
</nav>
<section class="content-holder">
<div class=" container-blogpage">
<img style="width:100%;padding-bottom: 2%;" src="/Images/API.png">
<div class="content">
<p><strong>E</strong>mmet is nothing but a shortcut to write and complete your code faster. Using emmet lines of code can be written at any instant. I like to relate emmet with fill in the blanks. You write a sentence or in some cases just a word and a whole para of fill in the blank gets created for you to fill in. <br><br>
Emmet is more often used in HTML and CSS coding. Various code editors like VS code, Sublime text etc have a built-in feature of Emmets.<br><br>
</p>
<h2>Here are few of many emmets that I love using:</h2>
<ol>
<li>
<h3>The html:5 abbreviation</h3>
<p>
Type down <strong> html:5</strong>
and press enter; you’ll get a basic doctype html skeleton to start writing the HTML code.
</p>
</li>
<li>
<h3>Frequently used HTML tags</h3>
<p>
a. Typing basic tag like <strong>div, header, h1..h6, btn, ftr </strong>and pressing <strong>Enter </strong> would give you the complete tag.
<p>
<p>
b. btn (button tag) further has 3 sub emmets:
<ul>
<li>
btn:d gives <strong><span><</span>button type="disabled"><span><</span>/button>,</strong> doesn’t allow the user to click.
</li>
<li>
btn:r gives <strong><span><</span>button type="reset"><span><</span>/button></strong>
</li>
<li>
btn:s gives <strong><span><</span>button type="submit"><span><</span>/button></strong>, as the name suggests it submits the information.
</li>
</ul>
</p>
</li>
<li>
<h3>CSS emmets</h3>
<p>
While writing CSS we use class or id to refer the html tag to apply CSS. We can use <strong>.</strong> and name of the <strong>class </strong>to create a div with class name. Similarly, we can use <strong>#</strong> and <strong> id</strong> name to create a div of that id. <br>
So <strong>.container</strong> in HTML gives us: <strong> <span><</span>div class="container"><span><</span>/div><br></strong>
and #container would give us: <strong><span><</span>div id="container"><span><</span>/div></strong><br>
</p>
</li>
<li>
<h3> Content and Grouping </h3>
<p>
Dummy text like that of "Lorem ipsum dolor sit a..." can be written with<strong> lorem</strong> and pressing enter.Need more dummy content ?,then simple multiple lorem with the number of lines you want. <strong>Eg: lorem*3</strong>
</p>
<p>
As i wrote in the begining, multiple lines of code can be written in single instant.
<strong>div>(header>ul>li>a) </strong> is would give us: <br>
<span><</span>div><span><</span>header><span><</span>ul><span><</span>li><span><</span>a href=""><span><</span>/a><span><</span>/li><span><</span>/ul><span><</span>/header><span><</span>/div>
</p>
</li>
</ol><br>
<p style="font-weight: bold; font-size: x-large; padding-left: 2rem;">
Finally i would like to conclude by providing you’ll a <a style="color: #0f1724;" href="https://docs.emmet.io/cheat-sheet/">cheatsheet</a> which i found it to be useful!!
</p>
</div>
</div>
<aside class="box">
<ul class="blog-list">
<li class="link"><a class="link-otherblogs" href="/blogpage2.html">FormData()</a></li>
<li class="link"><a class="link-otherblogs" href="#">Lorem ipsum dolor sit amet consec tetur, adipisicing elit. Cupiditate a </a></li>
<li class="link"><a class="link-otherblogs" href="#">Lorem ipsum dolor sit amet consec tetur, adipisicing elit. Cupiditate a </a></li>
<li class="link"><a class="link-otherblogs" href="#">Lorem ipsum dolor sit amet consec tetur, adipisicing elit. Cupiditate a </a></li>
<li class="link"><a class="link-otherblogs" href="#">Lorem ipsum dolor sit amet consec tetur, adipisicing elit. Cupiditate a </a></li>
</ul>
</aside>
</section>
<footer class="footer">
<a class="link " href="https://github.com/nshanbhag20001412">Github</a> </li>
<a class="link " href="https://twitter.com/NehaShanbhag14">Twitter</a> </li>
<a class="link " href="https://www.linkedin.com/in/neha-shanbhag-866649175">LinkedIn</a> </li>
</footer>
</body>
</html>