CSS Multiple choices

Total available count: 25
Subject - Web Development
Subsubject - CSS

Which HTML tag is used to define an internal style sheet?







Internal CSS:-
Internal or embedded CSS needs you to add <style> tag in the <head> section of your HTML document.

This CSS style is an effective method of styling a single page application. However, using this style for multiple pages is time-consuming as you require to put CSS rules on every page of your website.

Here’s how you can use internal CSS,

  1. Open your HTML page and locate <head> opening tag.
  2. Put the following code right after the <head> tag

CSS Example:-

<style type="text/css">
body {
  background-color: red;
h1 {
  color: blue;
  padding: 100px;

Your HTML file will look like below:

<!DOCTYPE html>
body {
 background-color: red;
h1 {
 color: blue;
 padding: 100px;

<h1>Hostinger Tutorials</h1>
<p>This is our paragraph.</p>



Next 5 multiple choice(s)


Which HTML attribute is used to define inline styles?


Which is the correct CSS syntax?


How do you insert a comment in a CSS file?


Which property is used to change the background color?


How do you add a background color for all <h1> elements?