Web Development Basics Quiz

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

What is the CSS property used to specify the transparency of an element?

  • Opacity (correct)
  • Filter
  • Display
  • Visibility

Which selector is used to specify a group of elements in CSS?

  • style
  • id
  • name
  • class (correct)

Which CSS property is used to change the background color?

  • background-color (correct)
  • background-image
  • color
  • background-style

What is the extension used to save an HTML program?

<p>.html (C)</p> Signup and view all the answers

Which CSS property would you use to align text?

<p>text-align (C)</p> Signup and view all the answers

Which symbol is used to separate JavaScript statements?

<p>Semicolon (;) (A)</p> Signup and view all the answers

Which of the following tags in HTML is used to start a paragraph?

<p> (B) Signup and view all the answers

What is the syntax for applying a line through text using CSS?

<p>Text-decoration: line-through; (B)</p> Signup and view all the answers

What does CMS stand for in web design?

<p>Content management system (B)</p> Signup and view all the answers

What is the full form of HTML?

<p>Hyper text markup language (A)</p> Signup and view all the answers

Which CSS property controls the space on the outer side of an element?

<p>Margin (B)</p> Signup and view all the answers

What does the iframe tag do in HTML?

<p>Display web pages in a separate section (A)</p> Signup and view all the answers

Which tag is used to make text bold in HTML?

<p><b> (A)</p> Signup and view all the answers

What does the first tag of an HTML document typically indicate?

<p>The document type (A)</p> Signup and view all the answers

What is a characteristic of a mobile-friendly website?

<p>Responsive (C)</p> Signup and view all the answers

To create a bulleted list in HTML, which tag is used?

<ul> (D) Signup and view all the answers

Which of the following represents a valid character set?

<p>UTF-8 (B), ASCII (C)</p> Signup and view all the answers

Which element is used to create a hyperlink in HTML?

<p><a> (A)</p> Signup and view all the answers

Where is the map definition file typically stored?

<p>CGI-Bin (D)</p> Signup and view all the answers

What does the vlink attribute specify in HTML?

<p>Visited link (B)</p> Signup and view all the answers

What does DNS translate?

<p>Domain name into IP (C)</p> Signup and view all the answers

What is a key part of server-side scripting?

<p>Scripting language (B)</p> Signup and view all the answers

Which tag is used to create a checkbox in HTML?

<p><input type='checkbox'> (D)</p> Signup and view all the answers

What is the maximum number of heading levels defined in HTML?

<p>6 (A)</p> Signup and view all the answers

Which of the following is considered part of a website's content?

<p>Audio and video files (A)</p> Signup and view all the answers

What describes server-side script visibility to the user?

<p>Invisible to the end user (C)</p> Signup and view all the answers

Which language is CSS categorized as?

<p>Presentational (C)</p> Signup and view all the answers

Which statement best describes a web browser's functionality?

<p>Allows users to access internet resources (C)</p> Signup and view all the answers

Which tag is used to link an external stylesheet to a web page?

<link> (C) Signup and view all the answers

Which CSS selector indicates a class selector?

<p>. (C)</p> Signup and view all the answers

What is the correct CSS property to set the background image of an element?

<p>background-image (B)</p> Signup and view all the answers

Which attribute is used to select an element by its ID in CSS?

<p>#id (C)</p> Signup and view all the answers

Which link correctly references the W3.css stylesheet?

<p><a href="https://www.w3schools.com/w3css/4/w3.css">https://www.w3schools.com/w3css/4/w3.css</a> (C)</p> Signup and view all the answers

What property is used to set the background color in W3.css?

<p>w3-color (A)</p> Signup and view all the answers

Which property should be used to limit the maximum number of characters in a text box?

<p>maxlength (B)</p> Signup and view all the answers

What is the default port for SMTP?

<p>25 (B)</p> Signup and view all the answers

What is used to create a clipping region in CSS?

<p>clip-path property (D)</p> Signup and view all the answers

Which CSS property creates rounded borders on elements?

<p>border-radius (A)</p> Signup and view all the answers

How many layers are there in the TCP/IP model?

<p>4 layers (A)</p> Signup and view all the answers

Which framework is associated with front-end development?

<p>Bootstrap (A)</p> Signup and view all the answers

What does NaN stand for?

<p>Not a Number (B)</p> Signup and view all the answers

What is the correct port number for email?

<p>25 (B)</p> Signup and view all the answers

Which CSS property is used to set indentation for the first line of a block of text?

<p>text-indent property (C)</p> Signup and view all the answers

How many layout modes are introduced in the Flexbox Layout Module in CSS?

<p>3 layout modes (D)</p> Signup and view all the answers

What is the general syntax of the var() function in CSS?

<p>var(--name, value) (B)</p> Signup and view all the answers

Which property is used to specify the order of flex items in a flex container?

<p>order property (C)</p> Signup and view all the answers

What type of software is a translator regarded as?

<p>Application Software (C)</p> Signup and view all the answers

Which tag is used to create a new line in HTML?

<p><br> (C)</p> Signup and view all the answers

Flashcards

Responsive website

A website that adapts to different screen sizes and devices, providing an optimal viewing experience.

UTF-8

A character encoding standard that supports a wide range of characters from various languages.

DNS translation

The process of converting a domain name (e.g., google.com) into an IP address (e.g., 172.217.160.142), which is a unique numerical address used by computers to communicate.

Client-side scripting

A scripting language that runs on the user's computer, directly interacting with the browser, enabling dynamic and interactive web pages.

Signup and view all the flashcards

Server-side scripting

Code that executes on the server-side, processing data and logic before sending the final output to the user's browser.

Signup and view all the flashcards

Web Browser

A software program that allows users to access and explore resources available on the internet, displaying web pages and executing scripts.

Signup and view all the flashcards

Open Source Software

A type of software that is freely available and allows users to modify and distribute it.

Signup and view all the flashcards

Visual Basic Script (VBScript)

A scripting language that is primarily used in Microsoft Windows environments, often used for automating tasks.

Signup and view all the flashcards

JavaScript statement separator

Semicolon (;) is used to separate individual JavaScript statements. It's similar to using periods in sentences to indicate the end of a thought.

Signup and view all the flashcards

What is a website's unique address called?

A website's address, also known as its URL, is a unique name that identifies it on the web. This is how browsers find and display specific websites.

Signup and view all the flashcards

What does HTML stand for?

HTML stands for Hyper Text Markup Language. It's the fundamental language used to create the structure and content of web pages.

Signup and view all the flashcards

What does CMS stand for?

CMS stands for Content Management System. This refers to software that helps manage and organize web content, making it easier to create, update, and publish website content.

Signup and view all the flashcards

What HTML tag allows you to embed another webpage?

The 'iframe' tag in HTML allows you to embed another web page directly within your current webpage. It acts like a window to display a separate piece of content.

Signup and view all the flashcards

What kind of content is typically found within an 'article' element?

The 'article' element in HTML is designed to hold a self-contained piece of content, such as a blog post, news article, or a separate section.

Signup and view all the flashcards

What is a 'var' declaration used for in JavaScript?

In JavaScript, a 'var' declaration is used to create variables, which can store various data types, such as numbers, strings, or boolean values.

Signup and view all the flashcards

How do you make text bold in HTML?

In HTML, you need to enclose text between the 'bold' tags to make it bold. This is a common way to emphasize text content.

Signup and view all the flashcards

What is a visited link?

A visited link is a hyperlink that the user has already clicked on. It typically appears in a different color to distinguish it from unvisited links, often in purple or a similar shade.

Signup and view all the flashcards

What is the HTML tag for creating checkboxes?

The 'input' tag in HTML is used to create checkboxes, which allow users to select one or more options from a set.

Signup and view all the flashcards

Which HTML tag is used for displaying pictures?

The 'img' tag is used in HTML to display images on a web page. It's important to include the 'src' attribute, which specifies the image file's location.

Signup and view all the flashcards

How do you create an ordered list in HTML?

The 'ol' (ordered list) tag allows you to create a numbered list in HTML. Each item in the list is marked with a number.

Signup and view all the flashcards

What HTML element allows creating a drop-down list?

Drop-down lists, also known as select menus, are created using the 'select' tag in HTML. Options are displayed in a dropdown menu, letting users choose one.

Signup and view all the flashcards

Which HTML attribute automatically focuses on an element?

The 'autofocus' attribute is used to automatically focus on an HTML element when the page loads. This can improve user experience by directing attention.

Signup and view all the flashcards

What is the maximum heading level in HTML?

The heading (H) tags in HTML, from '

' to '

', allow you to create different levels of headings. '

' is the most important, and '

' is the least.

Signup and view all the flashcards

What type of language is CSS considered?

CSS stands for Cascading Style Sheets. It is used to style and present web pages, controlling elements' appearance, layout, and more.

Signup and view all the flashcards

HTML File Extension

The ".html" extension is used to indicate that a file is an HTML document. It helps web browsers identify and interpret the file correctly.

Signup and view all the flashcards

HTML Paragraph Tag

The <p> tag is the opening tag used to start a paragraph in HTML. It signals to the browser that the enclosed content should be displayed as a separate paragraph.

Signup and view all the flashcards

HTML tags and their function

Markup tags in HTML provide instructions for web browsers on how to display and structure content in a webpage. They act as commands that guide the browser to organize and render the page elements.

Signup and view all the flashcards

Embedding CSS within HTML

To embed CSS within an HTML page, use the <style> tag. This tag serves as a container to include CSS rules that define the style and appearance of the HTML elements.

Signup and view all the flashcards

The :hover CSS pseudo-class

The :hover CSS pseudo-class is used to apply styles to an element when the mouse hovers over it. It allows for interactive features like changing colors or text on mouseover.

Signup and view all the flashcards

The text-align CSS property

The text-align CSS property controls the horizontal alignment of text within an element. You can align text to the left, right, center, or justify.

Signup and view all the flashcards

The text-decoration CSS property

The text-decoration CSS property is used to add decorations like underlines, overlines, and line-throughs to text. It enhances readability and visual emphasis.

Signup and view all the flashcards

The visibility CSS property

The visibility CSS property controls the visibility of an element. It allows you to hide or show elements without affecting their layout or position.

Signup and view all the flashcards

What is the 'href' attribute in HTML used for?

The "href" attribute is used to specify the URL (Uniform Resource Locator) of a linked resource.

Signup and view all the flashcards

How to add a background color in W3.CSS?

The "w3-color" class provides a way to set the background color of a web element using W3.CSS.

Signup and view all the flashcards

How to change the text color in W3.CSS?

The "w3-text-color" class in W3.CSS allows you to specify the text color of an element.

Signup and view all the flashcards

What does W3.CSS stand for?

W3.CSS stands for W3.CSS Properties, a lightweight CSS framework designed for creating responsive and modern websites.

Signup and view all the flashcards

How do you set the character limit in a text box?

The 'maxlength' attribute is used to restrict the maximum number of characters a user can enter into a text input field.

Signup and view all the flashcards

What is the default port for SMTP?

The default port for SMTP (Simple Mail Transfer Protocol) is port 25.

Signup and view all the flashcards

Which heading tag represents the largest heading in HTML?

The '

' tag represents the largest heading in HTML, while '

' represents the smallest heading.

Signup and view all the flashcards

What is the shorthand property for padding in CSS?

The shorthand property for padding properties in CSS is simply "padding".

Signup and view all the flashcards

What does 'NaN' stand for in JavaScript?

NaN is a special value in JavaScript representing "Not a Number". It's used when an operation results in an undefined or invalid numerical value.

Signup and view all the flashcards

What is the relationship between 'URL' and 'HREF'?

The URL (Uniform Resource Locator) is the unique address used to identify and locate a specific web page on the internet. HREF refers to a hyperlink, a link to another resource on the web, typically another web page or document.

Signup and view all the flashcards

What is the default port number for sending emails?

Port 25 is commonly used for sending emails (SMTP - Simple Mail Transfer Protocol).

Signup and view all the flashcards

What is the purpose of the '
' tag in HTML?

The <br> tag is used to create a line break within a web document, effectively moving the content to the next line. It's usually used to format text and improve readability.

Signup and view all the flashcards

Which CSS property is used to indent the first line of a text block?

The text-indent property in CSS is used to set the indentation (spacing) of the first line of a text block, effectively creating a visual offset for the initial portion of the text.

Signup and view all the flashcards

How can you manipulate the order of elements within a Flexbox container?

The 'order' property is used within the CSS Flexbox Layout Module to specify the order in which flex items (elements within a flex container) are arranged. It allows you to control the display order of flex items without changing their underlying source order (HTML structure).

Signup and view all the flashcards

How do you create a single-line comment in JavaScript?

A single-line comment in JavaScript is denoted by two forward slashes (//). Anything following them on the same line is ignored by the JavaScript interpreter. It's a way to add annotations or explanations within your code without affecting its execution.

Signup and view all the flashcards

How can you define a base URL for relative links within a web page?

The BASE element is a specialized HTML tag that defines a base URL for all relative URLs (links) within a web page. It's useful when you want to change the base reference point for all links within a specific document without modifying each individual link.

Signup and view all the flashcards

Related Documents

More Like This

Mastering Absolute Positioning
5 questions
HTML and CSS Basics
8 questions

HTML and CSS Basics

BreathtakingSphene avatar
BreathtakingSphene
Quiz sobre Desenvolvimento Web
50 questions
Use Quizgecko on...
Browser
Browser