Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ __________________

## [html: Basic Questions for Begginers](http://www.thatjsdude.com/interview/html.html)

15 basic questions and asnwers
15+ basic questions and asnwers
______
1. Why do you need doctype?
2. What are data-* attributes used for?
Expand All @@ -187,6 +187,7 @@ ______
13. How to serve html in multiple languages?
14. Explain standard and quirks mode.
15. What is a semantic tag?
16. Differentiate between an Ordered list and an Unordered list?

#### [HTML: Answers for Basic Questions](http://www.thatjsdude.com/interview/html.html)

Expand Down
41 changes: 40 additions & 1 deletion html.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ <h2>HTML related interview questions</h2>
<li><a href="#mtuli_lang">How to serve html in multiple languages?</a></li>
<li><a href="#standard_quirks">Explain standard and quirks mode.</a></li>
<li><a href="#semantic_html">What is semantic tag?</a></li>
<li><a href="#list_html">Differentiate between an Ordered list and an Unordered list?</a></li>
</ol>
<p><strong>Need more:</strong> <strong><a href="css.html">CSS Interview Questions</a></strong>, <strong><a href="js1.html">JavaScript Beginners Algorithm</a></strong></p>
<div id="doctype">
Expand Down Expand Up @@ -230,7 +231,45 @@ <h2>15. semantic</h2>
<p><strong>Answer:</strong> read it in <a href="http://stackoverflow.com/questions/1294493/what-does-semantically-correct-mean/1294512#1294512">Stackoverflow</a></p>

</div>
<div>
<div id="list_html">
<h2>1. list_html</h2>
<p><strong>Question:</strong> Differentiate between an Ordered list and an Unordered list?</p>
<p><strong>Answer:</strong> An unordered list uses <ul> </ul> tags and each element of the list is written between <li> </li> tags. The list items are displayed as bullets rather than numbers.
An ordered list uses <ol> </ol> tags and each element of the list is written between <li> </li> tags. The list items are displayed as numbers rather than bullet points.</p>
<pre><code>
<!DOCTYPE html>

<html>

<body>

<h2>HTML List Example</h2>

<ul>

<li>Coffee</li>

<li>Tea</li>

<li>Milk</li>

</ul>

<ol>

<li>Coffee</li>

<li>Tea</li>

<li>Milk</li>

</ol>

</body>

</html>
</code></pre>
</div>
<h2>Need more!</h2>
<p><strong>More questions:</strong> <strong><a href="css.html">CSS Interview Questions</a></strong>, <strong><a href="js1.html">JavaScript Beginners Algorithm</a></strong></p>
read: <a href="https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/HTML5?redirectlocale=en-US&redirectslug=HTML%2FHTML5">HTML5</a>
Expand Down