0% found this document useful (0 votes)
19 views

câu hỏi trắc nghiệm html css js

Uploaded by

postmen2010
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views

câu hỏi trắc nghiệm html css js

Uploaded by

postmen2010
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 12

HTML stands for?

A. Home Tool Markup Language

B. Hyper Text Markup Language

C. Hyperlinks and Text Markup Language

D. None of the above

[<br>]
Correct HTML tag for the largest heading is

A. <head>

B. <H6>

C. <H1>

D. <H>

[<br>]
HTML is a subset of

A. SGML

B. SGMD

C. SGMH

D. none of these

[<br>]
HTML is considered as _________ language.

A. Higher Level Language

B. Markup Language

C. Programming Language

D. OOP Language

[<br>]
HTML markup language is a set of Markup ___________.

A. Tags

B. Attributes

C. Sets
D. Group

[<br>]
HTML tags are used to describe document ___________.

A. Definition

B. Library

C. Content

D. Files

[<br>]
Page Designed in HTML is called as ________.

A. Web Page

B. Server Page

C. Yellow Page

D. Front Page

[<br>]
HTML program is saved using ____________ extension.

A. hml

B. html

C. htnl

D. hnl

[<br>]
HTML program can be read and rendered by _________.

A. Compiler

B. Interpreter

C. Server

D. WebBrowser

[<br>]
HTML was firstly proposed in year _______.

A. 1980
B. 1990

C. 1995

D. 2000

[<br>]
HTML tags are surrounded by __________ brackets.

A. Square

B. Angle

C. Round

D. Curly

[<br>]
HTML document contain 1 root tag called __________.

A. HTML

B. BODY

C. HEAD

D. TITLE

[<br>]
<a> and </a> tags are used for

A. adding image

B. adding text

C. adding links

D. adding heading

[<br>]
Choose the correct html tag to make text italic

A. <i>

B. <il>

C. <italic>

D. <it>

[<br>]
<br> tag is used to add

A. Long break

B. Paragraph break

C. Line break

D. none of these

[<br>]
What does CSS stand for?

A. Cascading Style Sheets

B. Computer Style Sheets

C. Creative Style Sheets

D. Colorful Style Sheets

[<br>]
What is the correct HTML for referring to an external style sheet?

A. <stylesheet>mystyle.css</stylesheet>

B. <style src="mystyle.css">

C. <link rel="stylesheet" type="text/css" href="mystyle.css">

D. none of these

[<br>]
Where in an HTML document is the correct place to refer to an external style sheet?

A. In the <head> section

B. At the top of the document

C. In the <body> section

D. At the end of the document

[<br>]
Which HTML tag is used to define an internal style sheet?

A. <style>

B. <script>

C. <css>
D. none of these

[<br>]
Which HTML attribute is used to define inline styles?

A. styles

B. style

C. css

D. class

[<br>]
How do you change the text color of an element?

A. color:

B. test-color:

C. text:color

D. fgcolor:

[<br>]
How do you change the text color of an element?

A. Selector

B. Attribute

C. Tag

D. Value

[<br>]
In css what does "color:blue" can be called as

A. Selector

B. Declaration

C. Rule

D. Value

[<br>]
---------------------- selectors, which are used to specify a rule to bind to a particular unique element
A. name

B. Id

C. class

D. tag

[<br>]
In css what does “font-size” can be called as

A. Selector

B. Rule

C. Property

D. Property-Name

[<br>]
Which selector is are used to specify a group of elements

A. name

B. id

C. class

tag

[<br>]
Which property is used in CSS to change the background color?

A. bgcolor:

B. background-color:

C. color:

D. back-color:

[<br>]
How do you insert a comment in a CSS file?

A. /* this is a comment /*

B. /* this is a comment */

C. // this is a comment

D. // this is a comment //
[<br>]
Which is the correct CSS syntax?

A. {body:color=black(body}

B. body {color: black}

C. {body;color:black}

D. body:color=black

[<br>]
Which of the following selects a normal, or small-caps face from a font family?

A. font-weight

B. font-synthesis

C. font-variant

D. font-kerning

[<br>]
Which of the following value of cursor shows it as a pointing hand?

A. crosshair

B. default

C. move

D. pointer

[<br>]
Which of the following property specifies a shorthand property for setting the margin properties in one
declaration?

A. margin

B. margin-top

C. margin-bottom

D. margin-left

[<br>]
Which of the following property specifies the width of a border?
A. border-color

B. border-bottom-color

C. border-style

D. border-width

[<br>]
Which of the following property is used to increase or decrease the size of a font?

A. font-weight

B. font-variant

C. font-size

D. font

[<br>]
Which of the following property is used to make a font italic or oblique?

A. font-variant

B. font-style

C. font-weight

D. font-family

[<br>]
Consider the following HTML/CSS code:

What color will be applied to the text?


A. Black
B. Blue
C. Yellow
D. Red
[<br>]
What is a CMS in web design
a. Content Management System
b. Creative Management System
c. Content Mixing System
d. Creatives Managerial System
[<br>]
To make your website mobile friendly, you can make your website
a. Responsive
b. Reactive
c. Fast Loading
d. Light
[<br>]
Which of the following statements is false
a. You can make a website without using HTML
b. You can make a website without using PHP
c. You can make a website without using CSS
d. You can make a website without using Javascript
[<br>]
SQL stands for
a. Structured Query Language
b. Statistical Query Language
c. Superior Questions Lot
d. Standard Query Lot
[<br>]
Which of the following is true about Javascript
a. It is a server side scripting language
b. It is client side scripting language
c. It is a Software
d. It is a database
[<br>]
Which of the following is true about PHP
a. It is a server side scripting language
b. It is client side scripting language
c. It is a Software
d. It is a database
[<br>]
Which of the following is true
a. You need a server to host your website files
b. You don’t need a server to host your website files
c. You can create a website without using HTML
d. You can’t create a website without a CMS
[<br>]
Which of the following softwares could be used to build a website
a. Power Point
b. Excel
c. Dream Weaver
d. ERP
[<br>]
Which of the following statements is false about hosting
a. Shared hosting is cheaper than dedicated hosting
b. Shared hosting is safer than dedicated hosting
c. Dedicated hosting is safer than shared hosting
d. Though more expensive than shared hosting, Dedicated hosting is more secure
[<br>]
What is the correct way to write a JavaScript array?
A. var colors = "red", "green", "blue"
B. var colors = ["red", "green", "blue"]
C. var colors = (1:"red", 2:"green", 3:"blue")
D. var colors = 1 = ("red"), 2 = ("green"), 3 = ("blue")
[<br>]
What is the correct JavaScript syntax for opening a new window called "w2" ?
A. w2 = window.new("http://www.w3schools.com");
B. w2 = window.open("http://www.w3schools.com");
[<br>]
Which event occurs when the user clicks on an HTML element?
A. onchange
B. onclick
C. onmouseclick
D. onmouseover
[<br>]
How do you declare a JavaScript variable?
A. variable carName;
B. v carName;
C. var carName;
[<br>]
How do you write "Hello World" in an alert box?
A. alert("Hello World");
B. alertBox("Hello World");
C. msgBox("Hello World");
D. msg("Hello World");
[<br>]
How do you create a function in JavaScript?
A. function:myFunction()
B. function = myFunction()
C. function myFunction()
[<br>]
How do you call a function named "myFunction"?
A. myFunction()
B. call function myFunction()
C. call myFunction()
[<br>]

You might also like