MTA HTML CSS W3SCHOOL

¡Supera tus tareas y exámenes ahora con Quizwiz!

With which way can we display the © symbol?

©

How can you open a link in a new tab/browser window?

<a href="url" target="_blank">

What is the correct HTML element for playing audio files?

<audio>

Extra Form elements

<form> Defines an HTML form for user input <input> Defines an input control <textarea> Defines a multiline input control (text area) <label> Defines a label for an <input> element <fieldset> Groups related elements in a form <legend> Defines a caption for a <fieldset> element <select> Defines a drop-down list <optgroup> Defines a group of related options in a drop-down list <option> Defines an option in a drop-down list <button> Defines a clickable button <datalist> Specifies a list of pre-defined options for input controls <output> Defines the result of a calculation

What is the correct HTML for making a checkbox?

<input type="checkbox">

What is the correct HTML for making a text input field?

<input type="text">

Which HTML element is used to display a scalar measurement within a range?

<meter>

What is the correct HTML for making a drop-down list?

<select>

Which of these elements are all <table> elements?

<table><tr><td>

What is the correct HTML element for playing video files?

<video>

HTML, what does the <aside> element define?

Content aside from the page content

Which HTML element is used to specify a header for a document or section?

Content aside from the page content

What is the function of the base tag?

Define the address of local paths

Block elements are normally displayed without starting a new line.

False

extra form input types

Here are the different input types you can use in HTML: <input type="button"> <input type="checkbox"> <input type="color"> <input type="date"> <input type="datetime-local"> <input type="email"> <input type="file"> <input type="hidden"> <input type="image"> <input type="month"> <input type="number"> <input type="password"> <input type="radio"> <input type="range"> <input type="reset"> <input type="search"> <input type="submit"> <input type="tel"> <input type="text"> <input type="time"> <input type="url"> <input type="week">

Which is the only browser that supports conditional comments?

Microsoft Internet Explorer

Extra

Remember you need name for every input element otherwise will not work.... <form> < input type="radio" name="gender" value="male"> Male < input type="radio" name="gender" value="female"> Female </form>

The HTML global attribute, "contenteditable" is used to:

Specify whether the content of an element should be editable or not

<fieldset>

The <fieldset> element is used to group related data in a form

<legend>Personal information:</legend>

The <legend> element defines a caption for the <fieldset> element

GET

The default method when submitting form data is GET • Appends form-data into the URL in name/value pairs • The length of a URL is limited (2048 characters) • Never use GET to send sensitive data! (will be visible in the URL) • Useful for form submissions where a user wants to bookmark the result • GET is better for non-secure data, like query strings in Google

input

The most important form element is the <input> element. The <input> element can be displayed in several ways, depending on the type attribute Each input field must have a name attribute to be submitted. If the name attribute is omitted, the data of that input field will not be sent at all. If the type attribute is omitted, the input field gets the default type: "text".

An <iframe> is used to display a web page within a web page.

True

Inline elements are normally displayed without starting a new line.

True

Which HTML element is used to specify a footer for a document or section?

True

Graphics defined by SVG is in which format?

XML

<select>

element defines a drop-down list <select name="cars"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="fiat">Fiat</option> <option value="audi">Audi</option> </select> Visible Values: Use the size attribute to specify the number of visible values: Example <select name="cars" size="3"> <option value="volvo">Volvo</option> <option value="saab">Saab</option> <option value="fiat">Fiat</option> <option value="audi">Audi</option> </select> Use the multiple attribute to allow the user to select more than one value:

<textarea>

element defines a multi-line input field (a text area): <textarea name="message" rows="10" cols="30"> The cat was playing in the garden. </textarea> <textarea name="message" style="width:200px; height:600px;"> The cat was playing in the garden. </textarea>

You want to add the keyword PETA to your site. What is the proper syntax?

meta name="keywords" content="PETA"/>

Which input type defines a slider control?

range

In HTML, which attribute is used to specify that an input field must be filled out?

required

POST

• POST has no size limitations, and can be used to send large amounts of data. • Form submissions with POST cannot be bookmarked


Conjuntos de estudio relacionados

Interpersonal Communications - Chapter 10: Intimate Relationships

View Set

ch 4 labs 4-1 through 4-6 server 2019

View Set

Chapter 31. Paint Application: ASE Type Questions

View Set

RESPIRATION - Check for understanding

View Set