HTML Form Elements

AttentivePink avatar
AttentivePink
·
·
Download

Start Quiz

Study Flashcards

30 Questions

Which web browser uses the WebKit software component to render web pages?

Google Chrome

Which layout engine is used by the Firefox web browser?

Gecko

Which web browser beats Chrome in India and Indonesia?

UC Browser

Who is credited with inventing the World Wide Web?

Tim Berners-Lee

Which of the following is NOT a major cloud service provider?

IBM

How many Elastic IPv4 addresses per region are accounts limited to in Amazon Web Services?

5

What is the purpose of a web server farm?

To eliminate single point of failure

Which company is NOT mentioned as a web hosting service for small businesses/individuals?

Network solutions

Which CSS property values are inherited by child elements from their parent element?

Everything in it is centered

Which pseudo-class selects a link that the user has visited?

:visited

Where is it recommended to place JavaScript scripts to ensure that the web page content is loaded before the script?

In the body tag

What does the length property of an array in JavaScript represent?

The largest integer property name in the array plus one

Which of the following is true about variable names in Python?

Variable names must begin with a letter or underscore (_) character.

What is the output of the following code snippet?

x = 5
y = '10'
result = x + y
print(result)

TypeError

What is the value of Word[-3] in the following code snippet?

Word = 'python'
print(Word[-3])

h

What is the purpose of the XMLHttpRequest object in JavaScript?

To exchange data with a server asynchronously.

Which one of the following is a characteristic of the Common Gateway Interface (CGI)?

It is a standard protocol for web servers to execute programs like console applications running on a server

What is the purpose of a FIELDSET element in HTML?

To group form elements together

Which of the following is NOT a server directive used by CGI scripts?

Value

What is the purpose of an application server?

To support the construction of dynamic web pages

Which web server is currently the most popular?

NGINX

Which feature allows a web server to host multiple websites?

Document Root

What is the purpose of basic authentication in HTTP servers?

To create secure directories

What is the purpose of CGI scripting in web servers?

To execute server-side components

What is the purpose of the 'ServerRoot' directive in Apache web server?

To specify the location of the server

What is the purpose of the 'ErrorLog' directive in Apache web server?

To specify the location of server logs

Which of the following is true about the Same-Origin Policy (SOP)?

The SOP is a security mechanism implemented in web browsers to prevent interactions between websites of different origins.

Which of the following is true about JSONP (JSON with Padding)?

JSONP uses script tags to make calls.

Which of the following is true about JSON and XML?

JSON can be used as an alternative to XML.

Which of the following is true about the JavaScript eval() function and JSON.parse()?

The eval() function can compile and execute any JavaScript program, which can lead to security issues.

Study Notes

Web Browsers

  • Safari uses the WebKit software component to render web pages.
  • Firefox uses the Gecko layout engine.

Web Development

  • Chrome is not the most popular browser in India and Indonesia.
  • Tim Berners-Lee is credited with inventing the World Wide Web.

Cloud Services

  • Amazon Web Services (AWS) limits accounts to 5 Elastic IPv4 addresses per region.
  • Oracle is NOT a major cloud service provider.

Web Servers

  • A web server farm is a large group of servers that work together to host a website.
  • A FIELDSET element in HTML groups related form elements together.
  • The XMLHttpRequest object in JavaScript allows web pages to make requests to a server without reloading.

CGI and Server Directives

  • CGI (Common Gateway Interface) scripts can execute system-level commands.
  • The purpose of an application server is to provide services and functionality to applications.
  • The 'ServerRoot' directive in Apache web server specifies the root directory of the server.
  • The 'ErrorLog' directive in Apache web server specifies the file where error messages are logged.

Security

  • Basic authentication in HTTP servers is a simple method of verifying user identities.
  • CGI scripting in web servers provides a way to generate dynamic web content.
  • The Same-Origin Policy (SOP) restricts web pages from making requests to a different origin.

JavaScript and JSON

  • The JavaScript eval() function can execute a string as JavaScript code, while JSON.parse() parses a JSON string.
  • JSONP (JSON with Padding) is a way to circumvent the Same-Origin Policy by injecting script tags.
  • JSON is a lightweight data interchange format, while XML is a markup language for storing and transporting data.

Python

  • In Python, variable names can include letters, digits, and underscores, but must start with a letter or underscore.
  • In Python, the code snippet x = 5; y = '10'; result = x + y; print(result) would raise a TypeError because of different data types.
  • In Python, Word[-3] would return the character at the third position from the end of the string 'python'.

Test your knowledge of HTML form elements with this quiz! Learn about the syntax and attributes of the select tag and understand how to group form elements using the fieldset element.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Web Browser Basics
5 questions

Web Browser Basics

ProminentPigeon avatar
ProminentPigeon
Enabling JavaScript Quiz
3 questions

Enabling JavaScript Quiz

LegendaryAcropolis avatar
LegendaryAcropolis
Web Browsers Comparison
5 questions

Web Browsers Comparison

SimplerThermodynamics avatar
SimplerThermodynamics
Use Quizgecko on...
Browser
Browser