Skip to content

Commit 9b1e84d

Browse files
committed
margin on inline element
1 parent 33856dd commit 9b1e84d

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

css.html

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,11 @@ <h2>4. case sensitive</h2>
156156
//add an example here
157157
</code></pre>
158158
</div>
159-
<!-- <div id="mark">
160-
<h2>5. mark</h2>
161-
<p><strong>Question:</strong> How can u highlight text in html?</p>
162-
<p><strong>Answer:</strong> use mark element.</p>
163-
<pre><code>
164-
&lt;p&gt;Some part of this paragraph is &lt;mark&gt;highlighted&lt;/mark&gt; by using mark element.&lt;/p&gt;
165-
</code></pre>
166-
<p><strong>result:</strong>Some part of this paragraph is <mark>highlighted</mark> by using mark element.</p>
167-
</div> -->
159+
<div id="mark">
160+
<h2>5. margin inline</h2>
161+
<p><strong>Question:</strong> Does margin-top or margin-bottom has effect on inline elemet?</p>
162+
<p><strong>Answer:</strong> no.</p>
163+
</div>
168164
<!-- <div id="scopped">
169165
<h2>6. scoped</h2>
170166
<p><strong>Question:</strong>Can u apply css rule to a part of html document?</p>

0 commit comments

Comments
 (0)