Section 1

Preview this deck

What should you avoid doing with HTML?

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (50)

Section 1

(50 cards)

What should you avoid doing with HTML?

Front

Styling content

Back

What attribute should you configure for the <img> element to display a pop-up message when the user hovers over the image with their mouse?

Front

Title

Back

Which HTML tag is used for the definition terms inside a definition list?

Front

<dt>

Back

What type of image file format should never be used for photographs?

Front

GIF

Back

Which HTML tag is used if you want to merge two or more table columns together?

Front

<colspan>

Back

What should you avoid with images when publishing them to a site?

Front

High resolutions and/or large file sizes

Back

The contents of what element are never visible to the user?

Front

<head>

Back

Which attribute can only be assigned to a single element within a page?

Front

Id

Back

Which element is used to define the main content of the page that should be visible to the user?

Front

<body>

Back

What element in HTML cannot be the child of another element?

Front

<html>

Back

What element do you use to link an external style sheet to an HTML document?

Front

<link>

Back

Where do inline styles get placed?

Front

Within the element they are styling

Back

Which element defines the highest level of heading?

Front

<h1>

Back

Which element is often used for copyright information, company logos, and contact information?

Front

<footer>

Back

What attributes are required for an external style sheet?

Front

Rel and href

Back

Which character set should you most often use in HTML?

Front

UTF-8

Back

What element should you use if you want to assign importance to a part of the content?

Front

<strong>

Back

What attribute should you configure for the <img> element to assist screen readers?

Front

Alt

Back

Which attribute is used with the <IMG> element to reference the graphic for the image?

Front

Src

Back

Which notation will result in HTML accurately showing a < in the content?

Front

&lt;

Back

What element defines related content in HTML?

Front

<aside>

Back

Which character is used for a closing tag in html?

Front

/

Back

Which element creates an unordered list?

Front

<UL>

Back

Which element is used in order to create in line styles with CSS?

Front

<style>

Back

Where would you commonly place a <nav> element and the links that it contains?

Front

In the <header> element

Back

What attribute is required by the <a> element?

Front

Href

Back

Which attribute should not be used unless you only want to apply style to a single element?

Front

Style

Back

Which sectioning element represents content that is syndicateable?

Front

<article>

Back

What is the proper format for the doctype declaration?

Front

<!DOCTYPE html>

Back

What is the final element in an html document?

Front

</html>

Back

Which notation is used to create a non-breaking space?

Front

&nbsp;

Back

What attribute is used with the <style> tag in order to reference an external style sheet?

Front

Src

Back

Which element defines the lowest level of heading?

Front

<h6>

Back

Which line is always first in the HTML file?

Front

DOCTYPE declaration

Back

Which element will create a line break within a paragraph?

Front

<br>

Back

Where should your style rules always be contained if they are present within the HTML document?

Front

<head> section

Back

Where do internal style sheets reside in the html document?

Front

In the <style> element inside the <head>

Back

Where does the title of the html file get placed?

Front

<head> section

Back

What element should you never use simply to format the text in italics?

Front

<em>

Back

Which element is used to define the rows in a table?

Front

<tr>

Back

Which attribute is used with the <A> element to reference the link the user will be sent to?

Front

Href

Back

What type of image file format is the best compromise between size and quality?

Front

PNG

Back

Which element is always the first element in an HTML file?

Front

HTML

Back

Which attribute is used to assign a class to multiple elements often for styling purposes?

Front

Class

Back

The most basic element in html is what?

Front

<p>

Back

Which attribute is used for the terms in a definition list?

Front

<dt>

Back

Which HTML element is used to create a logical grouping of other elements primarily for the purpose of styling but lacks semantic meaning?

Front

DIV

Back

Which element used with HTML tables defines a column heading?

Front

<th>

Back

Which element tells screen readers to emphasize text?

Front

<em>

Back

Which HTML tag is used to define the contents of the individual cells within the body of a table?

Front

<td>

Back