HTML Tags Quiz

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

blockquote

A block of text that is quoted from elsewhere.

cite

A citation — a reference to a creative work, such as a book, web site, or a statement. It must include the name of the author, title of the work, or a URL reference.

q

A short quotation.

html

A web page's root element. The big daddy. The ancestor of all elements. The element that wraps its arms around all other elements.

abbr

An abbreviation.

script

An executable script, such as JavaScript. Script can be embedded directly in the page by inserting it in between the opening and closing tags. It can also be imported by linking to a file with the src attribute.

img

Image. This could be a photograph or graph or any other meaningful pictorial content. It should not be used purely for presentation, where CSS, such as background-image is more appropriate. img has no content and therefore does not warrant a closing tag.

embed

Plugin point — where an external, typically non-HTML, application or resource can be embedded in a page. embed has no content and therefore does not warrant a closing tag.

s

Text that is no longer correct.

doctype

The <!DOCTYPE> declaration must be the very first thing in your HTML document, before the <html> tag. The <!DOCTYPE> declaration is not an HTML tag; it is an instruction to the web browser about what version of HTML the page is written in.

table

The basis of a table, used to format tabular data.

footer

The footer of a page or section. This could contain content such as a postscript, appendix, or links to related pages, for example

header

The header of a page or section, containing introductory content or navigation.

body

The main content area of an HTML document. You must use this element and it should be used just once. It should start immediately after the closing head tag and end directly before the closing html tag.

u

Unarticulated text — that which is misspelt, for example.

video

Video or captioned audio file.

i & b

i: Text in an alternate voice or representing a different quality of text. B:Text to which attention is being drawn without conveying importance or suggesting an alternative voice.

br

line break

li

list item

p

paragraph

ul

unordered list (uses bullets)

input

A form control, allowing input from a user. It can be one of many types, including a text field, a checkbox, or a submit button. input has no content and therefore does not warrant a closing tag.

section

A general section of an HTML document. This could be used to split up an article, or to represent chapters, for example.

nav

A navigation area — a major group of links to to other pages, or sections of a page.

hr

A paragraph-level thematic break. Traditionally represented by an asterisk or space between paragraphs in novels.

noscript

A section that is only enabled if scripting is unsupported or disabled. If used inside a head element, noscript should only contain link, style, and meta elements.

article

A self-contained, standalone section of an HTML document. This element could be used just once, if you think of a blog post as an article, for example, or a number of times, if you imagine replicating a traditional newspaper page with numerous articles.

iframe

An inline frame, or nested browsing context — essentially, a web page embedded within a web page.

a

Anchor. Primarily used as a hypertext link. The link can be to another page, a part of a page or any other location on the web.

style

Applies styles, typically CSS, at a page-level (as opposed to linking to an external CSS file). Typically placed inside the head element

button

Button form control that contains, and is labelled by, content.

Address

Contact information for a page or section.

aside

Content that is related to, but separate from, the content surrounding it. Pull-quotes or snippets of related information in an article are examples of content that could be marked up with aside tags.

link

Defines a link to an external resource. It is most commonly used to link a CSS file to an HTML document. When used, link must appear inside the head element (unless used with itemprop attribute).

div

Division — a generic container for a block of HTML. Lending no additional meaning, it is typically used as scaffolding to hang CSS on or for JavaScript to reach out to.

em

Emphasis, as in stressing a word or phrase in a sentence.

object

External resource, treated as an image, a nested browsing context, or a plugin. Often used param children elements to send parameters to the object. Any additional content of object is treated as fallback content, that is, content that a browser will call into play if the object fails to work (if the resource, or associated plugin, isn't found, for example).

figcaption

Figure caption. Accompanies a figure element. A figcaption element must be the first or last child of a figure element.

figure

Figure. Self-contained illustrative content that is typically referred to from the main content of a page. Used for the likes of related photographs or charts. Figures can be accompanied by a caption using figcaption.

meta

Metadata — information about the HTML document — that can not be covered by the title, style, link, base, or script elements. meta elements usually sit most comfortably inside the head element.

h1-h6

Ranked headings, h1 being the top-level heading, and h6 being the lowest level heading.

small

Small print. For a more meaningful, rather than presentational, point-of-view, this should be interpreted as a side comment or the "small print" details you might find in a legal document, rather than, simply, "print that is small".

strong

Strong importance — used to highlight the part of a sentence that matters most, a warning, or something the user should act on quickly, etc.

td

Table data cell. td elements are children of tr elements.

tr

Table row containing data cells (td) and/or header cells (th). tr elements are children of table, tbody, thead, or tfoot elements.

main

The main content of the body — content that is unique to the page, excluding content that might be repeated on multiple pages, such as navigation. main commands presidential status. There should be no more than one instance and should not be included inside article, aside, footer, header, or nav.

title

The title of a page. You must have a single textual title element to produce a valid document and it must be placed within the head element.

head

Where metadata — information about the document — is placed. It should be the first element inside an html element.

ol

ordered list (uses numbers)


Kaugnay na mga set ng pag-aaral

Taxation of Life Insurance and Annuities- Premiums and Proceeds

View Set

Basic Coding Interview Questions

View Set

Managerial Accounting Practice Exam 3 pt.2

View Set

Professional Practice and Building Laws: Preboard

View Set

Select All That Apply Comprehensive

View Set

Final Study Questions- Helminths (Ch. 23)

View Set

Developmental Psych (HDEV) Chapter 8: Early Childhood: Social and Emotional Development

View Set

Quiz-Quiz-Trade: Element, Compound or Mixture?

View Set