Be a groovy man by positive thinking

UI/UX_HTML,CSS 깜짝퀴즈 본문

IT/_HTML_CSS_JS

UI/UX_HTML,CSS 깜짝퀴즈

KhanSelf 2017. 7. 17. 16:47



 

1. Which doctype is correct for HTML5?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 5.0//EN" "http://www.w3.org/TR/html5/strict.dtd">

<!DOCTYPE HTML5>

<!DOCTYPE html>

 


2. Who is making the Web standards?

Microsoft 

Google 

Mozilla 

The World Wide Web Consortium


 

3. How can you open a link in a new tab/browser window?

<a href="url" new> 

<a href="url" target="_blank"> 

<a href="url" target="_new">


 

4. Choose the correct HTML element for the largest heading:

<h1> 

<heading> 

<h6> 

<head>

 


5. What is the correct HTML element for inserting a line break?

<break> 

<br> 

<lb>

 


6. Which character is used to indicate an end tag?

* 

< 

/ 

^

 


7. Inline elements are normally displayed without starting a new line.

False 

True

 

 

8. How can you make a numbered list?

<ol> 

<list> 

<dl> 

<ul>


 

9. What is the correct HTML for making a drop-down list?

<select> 

<input type="dropdown"> 

<input type="list"> 

<list>

 

 

10. Which HTML attribute specifies an alternate text for an image, if the image cannot be displayed?

longdesc 

alt 

src 

title

 

  

11. Which is the correct CSS syntax?

{body;color:black;} 

{body:color=black;} 

body:color=black; 

body {color: black;}


 

12.How do you insert a comment in a CSS file?

' this is a comment 

// this is a comment

/* this is a comment */ 

// this is a comment //


 

13. Which property is used to change the background color?

background-color 

bgcolor 

color


 

14. Which CSS property is used to change the text color of an element?

fgcolor 

color 

text-color


 

15.Which CSS property controls the text size?

font-style 

text-style 

text-size 

font-size

 


16. What is the correct CSS syntax for making all the <p> elements bold?

p {font-weight:bold;} 

p {text-size:bold;}

<p style="text-size:bold;"> 

<p style="font-size:bold;">

 


17. How do you display hyperlinks without an underline?

a {text-decoration:none;} 

a {decoration:no-underline;}

a {text-decoration:no-underline;} 

a {underline:none;}

 


18 .How do you display a border like this:

The top border = 10 pixels

The bottom border = 5 pixels

The left border = 20 pixels

The right border = 1pixel?

border-width:10px 20px 5px 1px;

border-width:10px 1px 5px 20px;

border-width:10px 5px 20px 1px;

border-width:5px 20px 10px 1px;

 


19. How do you select all p elements inside a div element?

div + p 

div.p 

div p

 


20. What is the default value of the position property?

absolute 

fixed 

relative 

static






















답안

 문제

답 

문제 

답 

문제 

답 

문제 

답 

 ③

 6

 

 11

 

 16

 

2

 ④

 7

 

 12

 

 17

 

3

 

 8

 

 13

 

 18

 

4

 

 9

 

 14

 

 19

 

5

 

 10

 

 15

 

 20

 












'IT > _HTML_CSS_JS' 카테고리의 다른 글

UI/UX_013  (0) 2017.07.19
UI/UX_012  (0) 2017.07.18
UI/UX_011  (0) 2017.07.14
UI/UX_010  (0) 2017.07.13
UI/UX_009  (0) 2017.07.12