Be a groovy man by positive thinking
UI/UX_HTML,CSS 깜짝퀴즈 본문
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
답안
문제 | 답 | 문제 | 답 | 문제 | 답 | 문제 | 답 |
1 |
③ |
6 |
③ |
11 |
④ |
16 |
① |
2 |
④ |
7 |
② |
12 |
③ |
17 |
① |
3 |
② |
8 |
① |
13 |
① |
18 |
② |
4 |
① |
9 |
① |
14 |
② |
19 |
③ |
5 |
② |
10 |
② |
15 |
④ |
20 |
④ |