0% found this document useful (0 votes)
93 views2 pages

Web Development Summer Training Exam

Hhhhhhhhhhhhhhggggg
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)
93 views2 pages

Web Development Summer Training Exam

Hhhhhhhhhhhhhhggggg
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

Meweda school in collaboration with Harun Media and Bewide Technologies

web Summer training final exam

Part1: True or False

1. CSS is used to add interactivity to a website, like making buttons work when clicked.
2. Every HTML file must start with a <!DOCTYPE html> declaration.
3. The <h1> tag in HTML creates the largest/title heading on a webpage.
4. In CSS, font-size is used to change how big or small text appears.

Part2: Multiple Choices

6. What does HTML do on a webpage?

A) Adds style and colors B) Creates the structure and content

C) Makes the webpage interactive D) Connects the webpage to the internet

7. Which tag is used to create a link in HTML?

A) <img> B) <a> C) <p> D) <div>

8. In CSS, which property changes the background color of an element?

A) color B) background-color C) font-size D) border

9. What does the <img> tag in HTML do?

A) Adds a paragraph B) Adds an image C) Adds a link D) Adds a button

10. In JavaScript, how do you write a message to the console?

A) alert("Hello"); B) [Link]("Hello"); C) print("Hello"); D)


message("Hello");

11. Which tag is used to include JavaScript code in an HTML file?

A) <script> B) <style> C) <link> D) <div>

12. What is the purpose of CSS in web development?

A) To add interactivity B) To style and design the webpage

C) To store data D) To create the webpage structure

13. Which HTML tag creates a numbered list?


A) <ul> B) <ol> C) <li> D) <dl>

14. In CSS, how do you select an element with the ID "myBox"?

A) .myBox B) #myBox C) myBox D) *myBox

15. Which of the following is the correct way to link a CSS file to an HTML file?

A) <link rel="stylesheet" href="[Link]"> B) <script src="[Link]">


C) <style src="[Link]"> D) <css href="[Link]">

16. In JavaScript, what symbol is used to compare if two values are equal?

A) = B) = = C) = = = D) Both B and C

17. In JavaScript, how do you declare/create a variable?

A) var myVariable = ; B) const myVariable = ; C) let myVariable; D) All ;

18. Which HTML attribute specifies the source of an image?

A) href B) src C) alt D) link

19. In CSS, which property adds space outside an element?

A) padding B) margin C) border D) spacing

20. What does the JavaScript [Link]() function do?

A) Creates a new element B) Finds an element by its ID

C) Changes the webpage’s title D) Deletes an element

21. What is the correct way to write a function in JavaScript?

A) function myFunction() {} B) func myFunction() {}

C) myFunction() {} D) function: myFunction() {}

Answer

1. False
2. True
3. True
4. True

You might also like