Introduction To Web Development Quiz

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By LeakyTapsMan
L
LeakyTapsMan
Community Contributor
Quizzes Created: 1 | Total Attempts: 10,410
Questions: 10 | Attempts: 10,410

SettingsSettingsSettings
Introduction To Web Development Quiz - Quiz

This quiz covers all of the topics learnt in the "Introduction to Web Development" e-learning environment. There are no trick questions and all of the answers have been given at some point in the online sessions - recap using the presentations if you need to.


Questions and Answers
  • 1. 

    What does HTML stand for?

    • A.

      Hyper Tag Markup Language

    • B.

      Hyper Text Markup Language

    • C.

      Hyperlinks Text Mark Language

    • D.

      Hyperlinking Text Marking Language

    Correct Answer
    B. Hyper Text Markup Language
    Explanation
    HTML stands for Hyper Text Markup Language. It is a standard markup language used for creating the structure and presentation of web pages. HTML uses tags to define elements such as headings, paragraphs, links, images, and other content. The correct answer is "Hyper Text Markup Language" because it accurately represents the acronym and the purpose of the language.

    Rate this question:

  • 2. 

    What symbol indicates a tag?

    • A.

      Angle brackets e.g.

    • B.

      Curved brackets e.g. {,}

    • C.

      Commas e.g. ','

    • D.

      Exclamation marks e.g. !

    Correct Answer
    A. Angle brackets e.g.
    Explanation
    The angle brackets, e.g. , are commonly used in HTML and XML to indicate the start and end of a tag. Tags are used to define elements in a markup language, and the angle brackets serve as a visual indicator for where the tag begins and ends.

    Rate this question:

  • 3. 

    Which of these is a genuine tag keyword?

    • A.

      Header

    • B.

      Bold

    • C.

      Body

    • D.

      Image

    Correct Answer
    C. Body
    Explanation
    The genuine tag keyword in this list is "body". In HTML, the "body" tag is used to define the main content of a webpage. It contains all the visible content such as text, images, links, etc. The "header" tag is used to define a header section, "bold" is not a valid HTML tag, and "image" is not a tag keyword but an element used to display an image within the HTML document.

    Rate this question:

  • 4. 

    A CSS file can be applied to only one HTML file.

    • A.

      True

    • B.

      False

    Correct Answer
    B. False
    Explanation
    This statement is false. A CSS file can be applied to multiple HTML files. In fact, it is common practice to use a single CSS file to style multiple web pages. This allows for consistency in the design and layout across the website. By linking the CSS file to multiple HTML files, any changes made to the CSS will be reflected in all the linked HTML files, saving time and effort in maintaining the website's design.

    Rate this question:

  • 5. 

    What is the correct tag for a line break?

    • A.

      "brk /"

    • B.

      "line /"

    • C.

      "bk /"

    • D.

      "br /"

    Correct Answer
    D. "br /"
    Explanation
    The correct tag for a line break is "br /". This tag is used in HTML to create a line break or a new line within a paragraph or block of text. It is a self-closing tag, which means it does not require a closing tag. When the browser encounters this tag, it inserts a line break and starts a new line.

    Rate this question:

  • 6. 

    What does CSS stand for?

    • A.

      Computing Style Sheet

    • B.

      Creative Style System

    • C.

      Cascading Style Sheet

    • D.

      Creative Styling Sheet

    Correct Answer
    C. Cascading Style Sheet
    Explanation
    CSS stands for Cascading Style Sheet. This is a language used for describing the look and formatting of a document written in HTML or XML. It is responsible for controlling the visual presentation of web pages, including layout, colors, fonts, and other design elements. The term "cascading" refers to the way styles are applied to elements, where multiple style sheets can be used and their rules are combined to determine the final appearance of the page.

    Rate this question:

  • 7. 

    Where should a CSS file be referenced in a HTML file?

    • A.

      Before any HTML code

    • B.

      After all HTML code

    • C.

      Inside the head section

    • D.

      Inside the body section

    Correct Answer
    C. Inside the head section
    Explanation
    A CSS file should be referenced inside the head section of an HTML file. This is because the head section is where the metadata and other non-visible elements of the webpage are placed. By including the CSS file in the head section, it ensures that the styles defined in the CSS file are loaded and applied before the HTML content is rendered in the body section. Placing the CSS file in the head section also follows best practices and helps to maintain a clean and organized structure of the HTML file.

    Rate this question:

  • 8. 

    What is the correct format for aligning written content to the center of the page in CSS?

    • A.

      Text-align:center;

    • B.

      Font-align:center;

    • C.

      Text:align-center;

    • D.

      Font:align-center;

    Correct Answer
    A. Text-align:center;
    Explanation
    The correct format for aligning written content to the center of the page in CSS is "text-align:center;". This CSS property is used to horizontally align the text within its container. By setting the value to "center", the text will be centered in the container. The other options provided ("font-align:center;", "text:align-center;", "font:align-center;") are incorrect and do not exist in CSS.

    Rate this question:

  • 9. 

    What is the correct format for changing the background colour of a div in CSS?

    • A.

      Bg-color:red;

    • B.

      Background:red;

    • C.

      Background-colour:red;

    • D.

      Background-color:red;

    Correct Answer
    D. Background-color:red;
    Explanation
    The correct format for changing the background color of a div in CSS is "background-color:red;". This is because the CSS property for changing the background color is "background-color", not "bg-color" or "background-colour". The value "red" specifies the desired color.

    Rate this question:

  • 10. 

    What is the correct format for a div?

    • A.

      Div-id=example

    • B.

      Div id="example"

    • C.

      Div="example"

    • D.

      Div.example

    Correct Answer
    B. Div id="example"
    Explanation
    The correct format for a div is "div id="example"". This format uses the "div" tag to define a division or a section in an HTML document, and the "id" attribute is used to give the div a unique identifier, in this case, "example". This format follows the standard syntax for creating a div element with an id attribute.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Sep 16, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Mar 10, 2012
    Quiz Created by
    LeakyTapsMan
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.