",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
},
{
"@type": "Answer",
"position": 2,
"text": "",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
},
{
"@type": "Answer",
"position": 3,
"text": "
",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
}
]
},
{
"@type": "Question",
"eduQuestionType": "Multiple choice",
"learningResourceType": "Exam exercise",
"name": "",
"text": "Which CSS property controls the space between elements?",
"encodingFormat": "text/html",
"assesses": "",
"acceptedAnswer": [
{
"@type": "Answer",
"position": 2,
"text": "margin",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment"
}
}
],
"suggestedAnswer": [
{
"@type": "Answer",
"position": 0,
"text": "width",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
},
{
"@type": "Answer",
"position": 1,
"text": "padding",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
},
{
"@type": "Answer",
"position": 2,
"text": "margin",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
},
{
"@type": "Answer",
"position": 3,
"text": "border",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
}
]
},
{
"@type": "Question",
"eduQuestionType": "Multiple choice",
"learningResourceType": "Exam exercise",
"name": "",
"text": "What is the difference between inline and block-level elements?",
"encodingFormat": "text/html",
"assesses": "",
"acceptedAnswer": [
{
"@type": "Answer",
"position": 0,
"text": "Inline elements occupy only the space required by their content, while block-level elements take up the full width of their container.",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment"
}
}
],
"suggestedAnswer": [
{
"@type": "Answer",
"position": 0,
"text": "Inline elements occupy only the space required by their content, while block-level elements take up the full width of their container.",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
},
{
"@type": "Answer",
"position": 1,
"text": "Inline elements can be styled with CSS, while block-level elements cannot.",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
}
]
},
{
"@type": "Question",
"eduQuestionType": "Multiple choice",
"learningResourceType": "Exam exercise",
"name": "",
"text": "How can you create a comment in CSS?",
"encodingFormat": "text/html",
"assesses": "",
"acceptedAnswer": [
{
"@type": "Answer",
"position": 2,
"text": "/* This is a comment */",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment"
}
}
],
"suggestedAnswer": [
{
"@type": "Answer",
"position": 0,
"text": "",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
},
{
"@type": "Answer",
"position": 1,
"text": "// This is a comment",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
},
{
"@type": "Answer",
"position": 2,
"text": "/* This is a comment */",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
},
{
"@type": "Answer",
"position": 3,
"text": "# This is a comment",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
}
]
},
{
"@type": "Question",
"eduQuestionType": "Multiple choice",
"learningResourceType": "Exam exercise",
"name": "",
"text": "What is the purpose of the \"display: none;\" property?",
"encodingFormat": "text/html",
"assesses": "",
"acceptedAnswer": [
{
"@type": "Answer",
"position": 0,
"text": "To hide an element from view.",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment"
}
}
],
"suggestedAnswer": [
{
"@type": "Answer",
"position": 0,
"text": "To hide an element from view.",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
},
{
"@type": "Answer",
"position": 1,
"text": "To set the element's background color to none.",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
},
{
"@type": "Answer",
"position": 2,
"text": "To make the element visible only when the page is loaded.",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
},
{
"@type": "Answer",
"position": 3,
"text": "To remove the element from the HTML document.",
"encodingFormat": "text/html",
"comment": {
"@type": "Comment",
"text": ""
}
}
]
}
]
}
Which value of the "position" property will make an element absolutely positioned?
Web Development Exercises are loading ...