Steps to Create an HTML Script using Notepad:

If you are really interested to test an HTML script, then here are the steps. There are plenty of tools, but I am going to give you the most simple tool to learn HTML. The tool, you will need to use a text editor like “Notepad (for Windows).”

Steps :

  1. Open Notepad
  2. Create a New Document (copy and paste the code given below)
  3. Save File in HTML
  4. View the saved File in a Web browser

Why Script for Creating Quiz is Important?

Quizzing is very important to take online tests. Making a Quiz using HTML is very tricky. Different types of questions could be set to conduct quizzes. MCQs (Multiple Choice Questions) are one of the most common examples to conduct quizzes. Here is an example of HTML tags for a Quiz. The answer of each question is revealed if the drop-down menu given below is clicked. You can make modifications of the script not revealing the results to the examinees and allow them only to submit.

Here is the sample Quiz:

The Output

Unit I : Teaching Aptitude


Instructions: Following are Multiple Choice Questions on English Grammar. Try the options given after each question. If you do not know the answer, click the Answer button to see the correct option.


1. Why did you ____ to China last year ?
(A) go
(B) went
(C) gone
(D) None of the above

2. Ms. Franklin ___ us music.
(A) teaching
(B) teachs
(C) teach
(D) teaches

3. Both my sister and I ___ how to bake bread.
(A) know
(B) knowing
(C) are knowing
(D) knows

4. I ___ a letter last Friday.
(A) writes
(B) written
(C) write
(D) wrote

5. He will ___ the Doctor for consultation next week.
(A) visited
(B) visit
(C) visits
(D) None of the above

The Code

<html>
<body>
<h4>Unit I : Teaching Aptitude</h4>
<hr>
<op><FORM><B>Instructions:</B> Following are Multiple Choice Questions on English Grammar. Try the options given after each question. If you do  not know the answer, click the Answer button to see the correct option.</op>
<hr>
<br><Op><b>1. Why did you ____ to China last year ?</b><Op TYPE="(D)">
<br>(A) go
<br>(B) went
<br>(C) gone
<br>(D) None of the above</Op>
<BR><SELECT><OPTION>Answer<OPTION>(A)</SELECT><P><b>2. Ms. Franklin ___ us music.</b><Op TYPE="(A)">
<br>(A) teaching
<br>(B) teachs
<br>(C) teach
<br>(D) teaches</Op>
<BR><SELECT><OPTION>Answer<OPTION>(D)</SELECT><P><b>3. Both my sister and I ___ how to bake bread.</b><Op TYPE="(A)">
<br>(A) know
<br>(B) knowing
<br>(C) are knowing
<br>(D) knows</Op>
<BR><SELECT><OPTION>Answer<OPTION>(A)</SELECT><P><b>4. I ___ a letter last Friday.</b><Op TYPE="(A)">
<br>(A) writes
<br>(B) written
<br>(C) write
<br>(D) wrote</Op>
<BR><SELECT><OPTION>Answer<OPTION>(D)</SELECT><P><b>5. He will ___ the Doctor for consultation next week.</b><Op TYPE="(A)">
<br>(A) visited
<br>(B) visit
<br>(C) visits
<br>(D) None of the above</Op>
<BR><SELECT><OPTION>Answer<OPTION>(B)</SELECT></Op></FORM>
</BODY>
</HTML>