HTML Test

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

<tfoot>

tag is used to group footer content in an HTML table. This element is used in conjunction with the <thead> and <tbody> elements to specify each part of a table (footer, header, body). Browsers can use these elements to enable scrolling of the table body independently of the header and footer. Also, when printing a large table that spans multiple pages, these elements can enable the table header and footer to be printed at the top and bottom of each page. This tag must be used in the following context: As a child of a <table> element, after any <caption>, <colgroup>, and <thead> elements and before any <tbody> and <tr> elements.

<span>

tag is used to group inline-elements in a document. This tag provides no visual change by itself. This tag provides a way to add a hook to a part of a text or a part of a document.

<fieldset>

tag is used to group related elements in a form. This tag draws a box around the related elements.

<tbody>

tag is used to group the body content in an HTML table.This element is used in conjunction with the <thead> and <tfoot> elements to specify each part of a table (body, header, footer). Browsers can use these elements to enable scrolling of the table body independently of the header and footer. Also, when printing a large table that spans multiple pages, these elements can enable the table header and footer to be printed at the top and bottom of each page. This tag must be used in the following context: As a child of a <table> element, after any <caption>, <colgroup>, and <thead> elements.

<col>

tag specifies column properties for each column within a <colgroup> element.This tag is useful for applying styles to entire columns, instead of repeating the styles for each cell, for each row.

<figure>

tag specifies self-contained content, like illustrations, diagrams, photos, code listings, etc.

<h1> to <h6>

tags are used to define HTML headings. defines the most important heading to the least important heading.

<optgroup>

used to group related options in a drop-down list. If you have a long list of options, groups of related options are easier to handle for a user.

<dt>

Defines a term/name in a description list. The tag is used in conjunction with <dl> (defines a description list) and <dd> (describes each term/name).

<th>

This tag defines a header cell in an HTML table. An HTML table has two kinds of cells: Header cells - contains header information (created with the <th> element) Standard cells - contains data (created with the <td> element) The text in these elements are bold and centered by default.

<b>

bold text

<figcaption>

defines a caption for a <figure> element. The element can be placed as the first or last child of the <figure> element.

<script>

defines a client-side script such as Javascript. The <script> element either contains scripting statements, or it points to an external script file through the src attribute. Common uses for JavaScript are image manipulation, form validation, and dynamic changes of content.

<!--...-->

defines a comment. not displayed in the browser

<dl>

defines a description list. The tag is used in conjunction with <dt> (defines terms/names) and <dd> (describes each term/name).

<div>

defines a division or a section in an HTML document. This tag is used to group block-elements to format them with CSS

<footer>

defines a footer for a document or section. this element should contain information about its containing element. This element typically contains the author of the document, copyright information, links to terms of use, contact information, etc. You can have several of these elements in one document.

<a>

defines a hyperlink, which is used to link from one page to another. The most important attribute of the <a> element is the href attribute, which indicates the link's destination.

<br />

defines a line break. empty tag. useful for writing poems or addresses.

<li>

defines a list item. The tag is used in ordered lists(<ol>), unordered lists (<ul>), and in menu lists (<menu>).

<q>

defines a short quotation. Browsers normally insert quotation marks around the quotation.

<ins>

defines a text that has been inserted into a document

<title>

defines a title for a document.

<noscript>

defines an alternate content for users with disabled script or without browser support. can be used in <head> and <body>

<img />

defines an image in an HTML page.The tag has two required attributes: src and alt.

<ol>

defines an ordered list. An ordered list can be numerical or alphabetical. Use the <li> tag to define list items.

<section>

defines sections in a document, such as chapters, headers, footers, or any other sections of the document.

<aside>

defines some content aside from the content it is placed in. The aside content should be related to the surrounding content.

<style>

defines style information for a document.

<sub>

defines subscript text. Subscript text appears half a character below the baseline. Subscript text can be used for chemical formulas, like H2O.

<sup>

defines superscript text. Superscript text appears half a character above the baseline. Superscript text can be used for footnotes, like WWW[1].

<del>

defines text that has been deleted from a document.

<!DOCTYPE>

defines the document type

<body>

defines the documents body. contains all the contents of an html document.

<cite>

defines the title of a work (e.g. a book, a song, a movie, a TV show, a painting, a sculpture, etc.). Note: A person's name is not the title of a work.

<select>

element is used to create a drop-down list.

<hgroup>

groups heading elements <h1> to <h6> when the heading has multiple levels

<abbr>

indicates an abbreviation or an acronym, like "WWW" or "NATO". By marking up abbreviations you can give useful information to browsers, spell checkers, translation systems and search-engine indexers.

<head>

information about the document. container for all head elements specifically <title>

<i>

italic text

<meta>

metadata (information) about an html document. inside the <head> element.

<p>

paragraph tag. automatically adds some space before and after the paragraph. can be modified with CSS

<link>

relationship between a doc and external resource

<html>

root of an html document. tells the browser that this is an html document.

<strong>

same as <b> but defines important text

<em>

same as <i> but it is emphasized text

<article>

specifies independent, self-contained content. Should make sense on its own and it should be possible to distribute it independently from the rest of the site. Potential sources for the element: Forum post Blog post News story Comment

<s>

specifies text that is no longer correct, accurate or relevant. should not be used to define replaced or deleted text.

<td>

tag defines a standard cell in an HTML table. An HTML table has two kinds of cells: Header cells - contains header information (created with the <th> element) Standard cells - contains data (created with the <td> element) The text in <th> elements are bold and centered by default. The text in this element are regular and left-aligned by default.

<caption>

tag defines a table caption. This tag must be inserted immediately after the <table> tag. You can specify only one caption per table.

<table>

tag defines an HTML table. An HTML table consists of this element and one or more <tr>, <th>, and <td> elements. The <tr> element defines a table row, the <th> element defines a table header, and the <td> element defines a table cell. A more complex HTML table may also include <caption>, <col>, <colgroup>, <thead>, <tfoot>, and <tbody> elements.

<pre>

tag defines preformatted text. Text in this element is displayed in a fixed-width font (usually Courier), and it preserves both spaces and line breaks

<small>

tag defines smaller text (and other side comments).

<address>

tag defines the contact information for the author/owner of a document or an article. If this element is inside the <body> element, it represents contact information for the document. If this element is inside an <article> element, it represents contact information for that article. The text in this element usually renders in italic. Most browsers will add a line break before and after the address element.

<form>

tag is used to create an HTML form for user input

<nav>

defines a set of navigation links. Notice that NOT all links of a document should be inside this element. This element is intended only for major block of navigation links.Browsers, such as screen readers for disabled users, can use this element to determine whether to omit the initial rendering of this content.

<hr />

defines a thematic break in an HTML page (e.g. a shift of topic). The element is used to separate content (or define a change) in an HTML page.

<option>

defines an option in a select list. This element go inside a <select> or <datalist> element.

<time>

defines either a time (24 hour clock), or a date in the Gregorian calendar, optionally with a time and a time-zone offset.

<mark>

defines marked text. Use this tag if you want to highlight parts of your text.

<u>

represents some text that should be stylistically different from normal text, such as misspelled words or proper nouns in Chinese.

<header>

specifies a header for a document or section. The element should be used as a container for introductory content or set of navigational links. You can have several of these elements in one document.

<blockquote>

specifies a section that is quoted from another source. Browsers usually indent this element.

<legend>

tag defines a caption for the <fieldset> element.

<button>

tag defines a clickable button. Inside this element you can put content, like text or images. This is the difference between this element and buttons created with the <input> element.

<label>

tag defines a label for an <input> element. This element does not render as anything special for the user. However, it provides a usability improvement for mouse users, because if the user clicks on the text within this element, it toggles the control. The for attribute of this tag should be equal to the id attribute of the related element to bind them together.

<textarea>

tag defines a multi-line text input control. This can hold an unlimited number of characters, and the text renders in a fixed-width font (usually Courier). The size of a this area can be specified by the cols and rows attributes, or even better; through CSS' height and width properties.

<colgroup>

tag specifies a group of one or more columns in a table for formatting. This tag is useful for applying styles to entire columns, instead of repeating the styles for each cell, for each row.

<input>

tag specifies an input field where the user can enter data. these elements are used within a <form> element to declare input controls that allow users to input data. An input field can vary in many ways, depending on the type attribute.

<thead>

this tag is used to group header content in an HTML table. This element is used in conjunction with the <tbody> and <tfoot> elements to specify each part of a table (header, body, footer). Browsers can use these elements to enable scrolling of the table body independently of the header and footer. Also, when printing a large table that spans multiple pages, these elements can enable the table header and footer to be printed at the top and bottom of each page. This tag must be used in the following context: As a child of a <table> element, after any <caption>, and <colgroup> elements, and before any <tbody>, <tfoot>, and <tr> elements.

<ul>

unordered (bulleted) list. goes with the <li> tag to create lists.

<dd>

used to describe a term/name in a description list. used in conjunction with <dl> (defines a description list) and <dt> (defines terms/names). you can put paragraphs, line breaks, images, links, lists, etc. inside this tag.


Set pelajaran terkait

FBLA Business Law : Business Organization

View Set

Unit 8 Clinical Psychology Key Terms

View Set

Chapter 10: Global Strategy: Competing Around The World

View Set

Ch 32 Structure and Function of the Kidney

View Set

PN Mental Health Final Questions

View Set

5.2 Time Value of Money Present Value

View Set

FINC Chapter 10How does the increase and decrease in the following affect duration?

View Set

Individuality and Conformity Unit Test Review

View Set