HTML and HTTP

Ace your homework & exams now with Quizwiz!

Div element

A CSS element that divides a Web page into areas to control formatting and layout.

Meta tag

Metadata is data (information) about data. The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable. Meta elements are typically used to specify page description, keywords, author of the document, last modified, and other metadata. The metadata can be used by browsers (how to display content or reload page), search engines (keywords), or other web services. https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_meta

HTML link tag

The <link> tag defines a link between a document and an external resource. The <link> tag is used to link to external style sheets. https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_link_tag

UTF-8

A coding system for storing characters in bits, extending the 8-bit ASCII coding system to include international characters by sometimes using more than 8 bits. A character in UTF8 can be from 1 to 4 bytes long. UTF-8 can represent any character in the Unicode standard. UTF-8 is backwards compatible with ASCII. UTF-8 is the preferred encoding for e-mail and web pages

Relative URL

A relative URL (defined in [RFC1808]) doesn't contain any protocol or machine information. Its path generally refers to a resource on the same machine as the current document. Relative URLs may contain relative path components (".." means one level up in the hierarchy defined by the path), and may contain fragment identifiers. Relative URLs are resolved to full URLs using a base URL. [RFC1808] defines the normative algorithm for this process. As an example of relative URL resolution, assume we have the base URL "http://www.acme.com/support/intro.html". The relative URL in the following markup for a hypertext link: <A href="suppliers.html">Suppliers</A>

Semantic element

A semantic element clearly describes its meaning to both the browser and the developer. Examples of non-semantic elements: <div> and <span> - Tells nothing about its content. Examples of semantic elements: <form>, <table>, and <article> - Clearly defines its content.

HTML TD

A table data/cell is defined with the <td> tag.

End tag

An HTML element usually consists of a start tag and end tag, with the content inserted in between: The HTML element is everything from the start tag to the end tag:

Start tag

An HTML element usually consists of a start tag and end tag, with the content inserted in between: The HTML element is everything from the start tag to the end tag:

HTML table

An HTML table is defined with the <table> tag. Each table row is defined with the <tr> tag. A table header is defined with the <th> tag. By default, table headings are bold and centered. A table data/cell is defined with the <td> tag. https://www.w3schools.com/html/tryit.asp?filename=tryhtml_table

HTTP response

An HTTP response is made by a server to a client. The aim of the response is to provide the client with the resource it requested, or inform the client that the action it requested has been carried out; or else to inform the client that an error occurred in processing its request. An HTTP response contains: 1. A status line. 2. A series of HTTP headers, or header fields. 3. A message body, which is usually needed. As in a request message, each HTTP header is followed by a carriage return line feed (CRLF). After the last of the HTTP headers, an additional CRLF is used (to give an empty line), and then the message body begins.

Absolute HTML

An absolute URL contains all the information necessary to locate a resource.

HTML form element

An collection of elements that allows user to enter data that is sent to server for processing. ex: <form>, <input>

POST method

Appends form-data inside the body of the HTTP request (data is not shown is in URL) Has no size limitations Form submissions with POST cannot be bookmarked

GET method

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

attribute

Attributes provide additional information about HTML elements. Always specified in the start tag. ex : The href attribhute - <a href="https://www.w3schools.com">This is a link</a>

Radio button

Defines a radio button. https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_radio

HTML TR

Each table row is defined with the <tr> tag.

Inline element

Every HTML element has a default display value depending on what type of element it is. The default display value for most elements is block or inline. An inline element does not start on a new line and only takes up as much width as necessary. ex: <span> https://www.w3schools.com/Html/tryit.asp?filename=tryhtml_inline_span

Block element

Every HTML element has a default display value depending on what type of element it is. The default display value for most elements is block or inline. ex: <div> element https://www.w3schools.com/Html/tryit.asp?filename=tryhtml_block_div

WHAT-WG

HTML living standards, changes constantly.

HTTP request

HTTP works as a request-response protocol between a client and server. A web browser may be the client, and an application on a computer that hosts a web site may be the server. Example: A client (browser) submits an HTTP request to the server; then the server returns a response to the client. The response contains status information about the request and may also contain the requested content.

HTML

Hyper Text Markup Language, building blocks of HTML pages. Defines structure and content of a Web document (Lists, paragraphs, tables, ...)

HTTP

Hypertext Transfer Protocol. defines client-server messages.

HTML entity

Reserved characters in HTML must be replaced with character entities. Characters that are not present on your keyboard can also be replaced by entities. ex: <, >, &, ", ', currency signs, copyright, trademark

DOCTYPE

Tells the language used so the browser can interpret it. ex: <!DOCTYPE html>

HTML A tag

The <a> tag 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.

checkbox

The <input type="checkbox"> defines a checkbox. The checkbox is shown as a square box that is ticked (checked) when activated. Checkboxes are used to let a user select one or more options of a limited number of choices. https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_input_type_checkbox

HTML input element

The <input> tag specifies an input field where the user can enter data. <input> elements are used within a <form> element to declare input controls that allow users to input data. https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_form_submit

W3C

The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web (abbreviated WWW or W3).

HTML form action

The action attribute specifies where to send the form-data when a form is submitted. https://www.w3schools.com/Tags/tryit.asp?filename=tryhtml_form_submit

Input name attribute

The name attribute specifies the name of an <input> element. The name attribute is used to reference elements in a JavaScript, or to reference form data after a form is submitted. https://www.w3schools.com/tags/tryit.asp?filename=tryhtml_input_name

Input value attribute

The value attribute specifies the value of an <input> element. The value attribute is used differently for different input types: -For "button", "reset", and "submit" - it defines the text on the button -For "text", "password", and "hidden" - it defines the initial (default) value of the input field -For "checkbox", "radio", "image" - it defines the value associated with the input (this is also the value that is sent on submit) https://www.w3schools.com/Tags/tryit.asp?filename=tryhtml_input_value

Encoding

To display an HTML page correctly, the browser must know what character-set (encoding) to use: ex: <meta charset="UTF-8">

validation

Tool that ensures HTML code follows proper W3C standards and syntax.

URL

Uniform Resource Location - A location or address identifying where documents can be found on the Internet; a Web address

Span element

an HTML element created with the <span> tag; used to group inline-elements in a document

element

an individual component of an HTML document or web page, once this has been parsed into the Document Object Model. ex: the whole statement - <p> paragraph </p>

HTML comment

ex: <!-- This is a comment --> multiline comment - <!-- Do not display this at the moment <img border="0" src="pic_trulli.jpg" alt="Trulli"> -->


Related study sets

5. Analyze Data to Answer Questions

View Set

AP Human Geography Review - Unit Seven

View Set

Q202 Pretest for Chapters 10 & 11

View Set

Chapter 3 Quiz - Intro to Business

View Set