By GokiSoft.com| 21:19 27/10/2023|
Học HTML5 - CSS3

Bài Thi Lý Thuyết HTML/CSS/JS - 2 BT2080

1. Which of the following escape sequence is used in JavaScript to insert a horizontal tab in an HTML page ?

 A.

B.

C. f

D.

 

2. Which of the following options are new features in HTML 5 (multiple options)

A. <canvas>

B. <div>

C. <article>

D. <audio>

 

3. Identify the correct syntax to insert a color picker on an HTML page.

A. <input type=”color-picker” name=”cpick”/>

B. <color type=”color-picker” name=”cpick”/>

C. <input type=”color” name=”cpick”>

D. <color type=”color” name=”cpick”>

 

4. Which of the following options are valid values for the border-style property ? (multiple options)

A. groove

B. dashed

C. lined

D. ridge

 

5. Identify the category of pattern matching where characters or symbols allow matching characters that reappear frequently in a string.

A. Position Matching

B. Character Classes

C. Repetition

D. Back Reference

 

6. Identify the correct syntax for specifying a background image in an HTML Web page.

A. <html> <body image=”bgimg.jpg”></body></html>

B. <html><body><background=”bgimg.jpg”></body></html>

C. <html><body background=”bgimg.jpg”></body></html>

D. <html><body img=”bgimg.jpg”></body></html>

 

7. Identify the correct method to assign a value sample.jpg to the src attribute of the IMG tag having id img1 using document object.

A. <document.getElement(‘img1’).src = “sample.jpg”>

B. <document.getElement(‘img1’).id = “sample.jpg”>

C. <document.getElementById(‘img1’).id = “sample.jpg”>

D. <document.getElementById(‘img1’).src = “sample.jpg”>

 

8. Which of the following options will be correctly identified by the pattern /[^AB]PQ/

A. APQ

B. BPQ

C. CPQ

D. ARQ

 

9.Which of the following meta tags indicates that the Web application runs in a full-screen mode ?

A. <meta name=”HandheldFriendly” content=”true”>

B. <meta name=”MobileOptimized” content=”width”>

C. <meta name=”Apple-mobile-web-app-capable” content=”yes”>

D. <meta name=”Format-detection” content=”telephone=no”>

 

10. ________ storage keeps track of data specific to one window or tab and discards it as soon as the user closes the tab.

 A. Session

B. Application

C. Local

D. Page

 

11. The_______element is a column or a section that generally contains data linked to the main information but not as relevant or important as the main.

A. <aside>

B. <nav>

C. <mark>

D. <section>

 

12. The _______ element emphasizes the text as compared to its surrounding text

A. STRONG

B. SUB

C. SUP

D. INS

 

13. Identify the correct syntax of doctype in HTML 5

A. <?DOCTYPE html>

B. <!DOCTYPE html>

C. <!DOCTYPE html!>

D. <?DOCTYPE html?>

 

14.  _______ is used to point to a specific location in the document.

A. breakpoint

B. link

C. anchor

D.tag

 

15. _________ property of the navigator object retrieves the version number and platform of the browser.

A. appVersion

B. Version

C. appVer

D. Ver

16. _________ styles are placed inside the <head> section of a particular Web page source code.

A. External

B. Inline

C. Intended

D. Internal

17. Identify the attribute of a span tag which is used in specifying a language code for the content in an element, in XHTML

A. lang

B. xml-lang

C. class

D. id

18. The _________ property of CSS is used to specify the space between the element border and the element

A. max-height

B. min-width

C. padding

D. spacing

 

 

 

--------------------------------------------------------------------------------------------------------------------------------------

Đáp Án:

01. D

02. A,C,D

03. C

04. A,B,C

05. C

06.C

07.D

08.C

09.C

10.A

11.A

12.A

13.B

14.C

15.A

16.D

17.A

18.C

Liên kết rút gọn:

https://gokisoft.com/2080

Bình luận