Question 1
Which HTML tag is used to define a piece of computer code?
<program>
<script>
<code>
<comp>
Question 2
Which tag is used to display keyboard input in HTML?
<input>
<type>
<kbd>
<key>
Question 3
Which HTML element preserves spaces, line breaks, and tabs in text?
<code>
<span>
<samp>
<pre>
Question 4
Which tag is used to display sample output from a program?
<samp>
<var>
<code>
<output>
Question 5
Which HTML tag is used to represent variables or placeholders?
<code>
<input>
<var>
<sample>
Question 6
Which HTML tag is commonly used with the <code> element to preserve the formatting of code snippets?
<samp>
<pre>
<kbd>
<var>
There are 6 questions to complete.