0% found this document useful (0 votes)
16 views62 pages

14 HTML Css Javascript

The document contains a series of questions and answers related to HTML, CSS, and JavaScript, aimed at assessing knowledge in web development. Each question presents multiple-choice options regarding various tags, attributes, and properties used in web design. The content serves as a quiz format for educational purposes.

Uploaded by

Umang Pathania
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views62 pages

14 HTML Css Javascript

The document contains a series of questions and answers related to HTML, CSS, and JavaScript, aimed at assessing knowledge in web development. Each question presents multiple-choice options regarding various tags, attributes, and properties used in web design. The content serves as a quiz format for educational purposes.

Uploaded by

Umang Pathania
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 62

Arora Educator

Questions
✓ HTML
✓ CSS
✓ JavaScript
Q.1. A webpage displays a picture. What tag was used to
display that picture.? Arora Educator

1) Picture
2) Image
3) Img
4) Src
Q.2. Tags and test that are not directly displayed on the
page are written in _____ section.? Arora Educator

1) <html>
2) <head>
3) <title>
4) <body>
Q.3. Which tag allows you to add row in a table.?
Arora Educator
1) <td> </td>
2) <cr> </cr>
3) <th> </th>
4) <tr> </tr>
Q.4. How can you make a numbered list.?
Arora Educator
1) <list>
2) <nlist>
3) <ul>
4) <ol>
Q.5. Which is the correct syntax to include comment in
an HTML document.? Arora Educator

1) //
2) /* Comment */
3) // Comment //
4) <!-- Comment -->
Q.6. Which tag contains the meta information about
the HTML page.? Arora Educator

1) <html>
2) <title>
3) <head>
4) <body>
Q.7. HTML tags with no content are called.?
Arora Educator
1) Special tags
2) Advanced tags
3) Empty tags
4) Other tags
Q.8. Which tag is used to define a line break.?
Arora Educator
1) <\n>
2) <lr>
3) <br>
4) <br>...</br>
Q.9. Which HTML attribute is used to define styles of an
element.? Arora Educator
1) <style>
2) <css>
3) style
4) css
Q.10. Which HTML tag is used to define emphasized
text.? Arora Educator
1) <italic>
2) <em>
3) <i>
4) <it>
Q.11. Which HTML tag is used to define marked or
highlighted text.? Arora Educator
1) <mark>
2) <highlight>
3) <m>
4) <highlighted>
Q.12. Which HTML tag is used to define a hyperlink.?
Arora Educator
1) <a>
2) <h>
3) <hyperlink>
4) Both 1. and 2.
Q.13. Which is the correct syntax of <a> tag.?
Arora Educator
1) <a src="url">link text</a>
2) <a link="url">link text</a>
3) <a href="url">link text</a>
4) <a srclink="url">link text</a>
Q.14. Which attribute specifies the path to the image.?
Arora Educator
1) href
2) link
3) src
4) All of the above
Q.15. External stylesheets are stored in CSS files.?
Arora Educator
1) TRUE
2) FALSE
3) Can be true or false
4) Can not say
Q.16. HTML element h1 is used in CSS for styling then it
is also called a.? Arora Educator

1) Attribute
2) Value
3) Selector
4) Tag
Q.17. Which of the following is the correct syntax for
referring the external style sheet.? Arora Educator

1) <style src = example.css>


2) <style src = "example.css" >
3) <stylesheet> example.css </stylesheet>
4) <link rel="stylesheet" type="text/css"
href="example.css">
Q.18. The property in CSS used to change the
background color of an element is.? Arora Educator

1) background-color
2) color
3) bgcolor
4) None
Q.19. Which of the following is the correct syntax for
referring the external style sheet.? Arora Educator

1) <style src = “example.css” >


2) <style src = example.css>
3) <stylesheet> example.css </stylesheet>
4) <link rel=“stylesheet” type=“text/css”
href=“example.css”>
Q.20. Which CSS property is used for controlling the
layout.? Arora Educator

1) Footer
2) Header
3) Display
4) All of the Above
Q.21. __ is the origin of CSS..? Arora Educator
1) SGML (Standard Generalized Markup
Language)
2) HTML
3) DHTML
4) None of the above
Q.22. What is JavaScript? Arora Educator
1) scripting language
2) assembly language
3) compiled language
4) None of the mentioned
Q.23. Which HTML element is used to put the JavaScript
code.? Arora Educator

1) <javascript>
2) <js>
3) <scripting>
4) <script>
Q.24. Which of the following is Pop up box in JavaScript.?
Arora Educator
1) Alert
2) Prompt
3) Confirm
4) All of the above
Q.25. What are the different types of errors in
JavaScript.? Arora Educator
1) Syntax errors
2) Run time errors
3) Logical Errors
4) All of the above
Q.26. The script must placed in.? Arora Educator

1) head
2) head and body
3) title and body
4) all of the mentioned
Q.27. Which of the following is the syntax of CSS.?
Arora Educator
1) Select {property : value}
2) Selector {value : property}
3) Selector {property : value}
4) Selection {property : value}
Q.28. Font size of H6 heading element is ____ pixel.?
Arora Educator
1) 13.28 px
2) 16 px
3) 24 px
4) 10.72 px
Q.29. Font size of H4 heading element is ____ pixel.?
1) 13.28 px Arora Educator
2) 16 px
3) 24 px
4) 10.72 px
Q.30. 1em indicates_____ heading & having _____ pixel.?
1) H4 & 16 pixel Arora Educator
2) H1 & 32 pixel
3) H2 & 24 pixel
4) H3 & 18.72 pixel
Arora Educator
Answers
✓ HTML
✓ CSS
✓ JavaScript
Q.1. A webpage displays a picture. What tag was used to
display that picture.? Arora Educator

1) Picture
2) Image
3) Img
4) Src
Q.2. Tags and test that are not directly displayed on the
page are written in _____ section.? Arora Educator

1) <html>
2) <head>
3) <title>
4) <body>
Q.3. Which tag allows you to add row in a table.?
Arora Educator
1) <td> </td>
2) <cr> </cr>
3) <th> </th>
4) <tr> </tr>
Q.4. How can you make a numbered list.?
Arora Educator
1) <list>
2) <nlist>
3) <ul>
4) <ol>
Q.5. Which is the correct syntax to include comment in
an HTML document.? Arora Educator

1) //
2) /* Comment */
3) // Comment //
4) <!-- Comment -->
Q.6. Which tag contains the meta information about
the HTML page.? Arora Educator

1) <html>
2) <title>
3) <head>
4) <body>
Q.7. HTML tags with no content are called.?
Arora Educator
1) Special tags
2) Advanced tags
3) Empty tags
4) Other tags
Q.8. Which tag is used to define a line break.?
Arora Educator
1) <\n>
2) <lr>
3) <br>
4) <br>...</br>
Q.9. Which HTML attribute is used to define styles of an
element.? Arora Educator
1) <style>
2) <css>
3) style
4) css
Q.10. Which HTML tag is used to define emphasized
text.? Arora Educator
1) <italic>
2) <em>
3) <i>
4) <it>
Q.11. Which HTML tag is used to define marked or
highlighted text.? Arora Educator
1) <mark>
2) <highlight>
3) <m>
4) <highlighted>
Q.12. Which HTML tag is used to define a hyperlink.?
Arora Educator
1) <a>
2) <h>
3) <hyperlink>
4) Both 1. and 2.
Q.13. Which is the correct syntax of <a> tag.?
Arora Educator
1) <a src="url">link text</a>
2) <a link="url">link text</a>
3) <a href="url">link text</a>
4) <a srclink="url">link text</a>
Q.14. Which attribute specifies the path to the image.?
Arora Educator
1) href
2) link
3) src
4) All of the above
Q.15. External stylesheets are stored in CSS files.?
Arora Educator
1) TRUE
2) FALSE
3) Can be true or false
4) Can not say
Q.16. HTML element h1 is used in CSS for styling then it
is also called a.? Arora Educator

1) Attribute
2) Value
3) Selector
4) Tag
Q.17. Which of the following is the correct syntax for
referring the external style sheet.? Arora Educator

1) <style src = example.css>


2) <style src = "example.css" >
3) <stylesheet> example.css </stylesheet>
4) <link rel="stylesheet" type="text/css"
href="example.css">
Q.18. The property in CSS used to change the
background color of an element is.? Arora Educator

1) background-color
2) color
3) bgcolor
4) None
Q.19. Which of the following is the correct syntax for
referring the external style sheet.? Arora Educator

1) <style src = “example.css” >


2) <style src = example.css>
3) <stylesheet> example.css </stylesheet>
4) <link rel=“stylesheet” type=“text/css”
href=“example.css”>
Q.20. Which CSS property is used for controlling the
layout.? Arora Educator

1) Footer
2) Header
3) Display
4) All of the Above
Q.21. __ is the origin of CSS..? Arora Educator
1) SGML (Standard Generalized Markup
Language)
2) HTML
3) DHTML
4) None of the above
Q.22. What is JavaScript? Arora Educator
1) scripting language
2) assembly language
3) compiled language
4) None of the mentioned
Q.23. Which HTML element is used to put the JavaScript
code.? Arora Educator

1) <javascript>
2) <js>
3) <scripting>
4) <script>
Q.24. Which of the following is Pop up box in JavaScript.?
Arora Educator
1) Alert
2) Prompt
3) Confirm
4) All of the above
Q.25. What are the different types of errors in
JavaScript.? Arora Educator
1) Syntax errors
2) Run time errors
3) Logical Errors
4) All of the above
Q.26. The script must placed in.? Arora Educator

1) head
2) head and body
3) title and body
4) all of the mentioned
Q.27. Which of the following is the syntax of CSS.?
Arora Educator
1) Select {property : value}
2) Selector {value : property}
3) Selector {property : value}
4) Selection {property : value}
Q.28. Font size of H6 heading element is ____ pixel.?
Arora Educator
1) 13.28 px
2) 16 px
3) 24 px
4) 10.72 px
Q.29. Font size of H4 heading element is ____ pixel.?
1) 13.28 px Arora Educator
2) 16 px
3) 24 px
4) 10.72 px
Q.30. 1em indicates_____ heading & having _____ pixel.?
1) H4 & 16 pixel Arora Educator
2) H1 & 32 pixel
3) H2 & 24 pixel
4) H3 & 18.72 pixel

You might also like