ASSESSMENT
ASSESSMENT
SECTION- 1
1.What property in CSS is used to define the space around an element’s content?
(a) padding
(b) margin
(c) border
(a) <input>
(b) <option>
(c) <select>
(d) <value>
9.Determine which color the <p> element will render and, based on CSS
<style>
</style>
<div id="main">
<div class="text">
<p>Hello World</p>
</div>
</div>
(a)green
(b)red
(c)blue
10. Which of the following is the correct way to include an icon using the Font Awesome
library?
1. A header that includes the blog's title and a navigation menu with links to "Home",
"About", and "Contact".
o A featured article with a heading, a short paragraph, and the author's name.
o A section listing two additional blog posts, each with a heading, short description,
and a “Read more” link.
Instructions:
Write the full HTML code using only semantic HTML elements wherever appropriate. Avoid
using generic <div> and <span> unless absolutely necessary. Proper indentation and readability
will be considered in marking. Style them with a proper border and use colors to enhance it.
B. Create a profile card using the CSS Box Model. The card should have the following
properties:
->The icons should be responsive, adapting gracefully to smaller screen sizes, and must be
placed within a semantically structured layout using HTML5 elements.
-> In addition to the icons, your page should include a navigation bar that contains a site title or
logo and icon-based navigation links (like Home, Contact, and Profile), properly aligned using
Flexbox.
-> Include a footer with clickable social media icons that link to real or placeholder URLs and
are laid out in a horizontal line with hover effects (such as a color change).