MTA HTML & CSS

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

div > p

Selects all <p> elements where the parent is a <div> element.

<ul></ul>

A container for a bullet-point list.

<ol></ol>

A container for a numbered list.

External Style Sheet

A file containing only CSS syntax (no document content or elements) and should carry a MIME type of "text/css."

<li></li>

A single bullet in a list.

<h2>

A subheading - the second biggest.

<hr>

Adds a horizontal line to a web page.

p {text-shadow: 2px 2px orange;}

Adds an orange drop-shadow to letters in a paragraph.

Inline Style Sheet

Allows you to apply a unique style to one HTML element at a time.

<!DOCTYPE>

An instruction to the web browser about what version of HTML the page is written in. (Must be the very first thing in your HTML document, before the <html> tag.)

<b>

Bold text tag.

body {width: 1000px; margin: auto;}

Centers the entire webpage.

li:hover {background-color: orange;}

Changes the background-color of a list item to orange when the mouse cursor is over it.

Standard cells (created with the <td> element)

Contains table data.

Header cells (created with the <th> element)

Contains table header information.

<head>

Contains the information about the webpage. Does not show in the webpages.

<figcaption>

Defines a caption for a <figure> element.

<button>

Defines a clickable button. In this element you can put content, like text or images.

<th>

Defines a header cell in an HTML table.

<a>

Defines a hyperlink, which is used to link from one page to another.

<link>

Defines a link between a document and an external resource.

<nav>

Defines a set of navigation links.

<caption>

Defines a table caption.

<noscript>

Defines an alternate content for users that have disabled scripts in their browser or have a browser that doesn't support script.

<section>

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

<a href="https://www.google.com">A link to Google</a>

Hyperlinked text.

<br>

Inserts a single line break.This tag is an empty tag which means that it has no end tag.

<em>

Italic or emphasized text - a relative element.

body {background-color: orange;}

Makes the color of the page orange.

h1 {color: orange;}

Makes the main heading's font color orange.

Relative URL

Points to a file within a web site. (like href="/themes/theme.css")

Absolute URL

Points to another web site. (like href="http://www.example.com/theme.css")

<meta>

Provides metadata about the HTML document.

<meta>

Snippets of text that describe a page's content. (little content descriptors that help tell search engines what a web page is about.)

The padding Property

Space between its content and its border.

<blockquote>

Specifies a section that is quoted from another source.

font-style

Specifies the font style for a text.

CSS Visibility Property

Specifies whether or not an element is visible.

<h1>

The biggest heading.

<html>

The container for all of the HMTL markup.

<body>

The container for the content that will be displayed on the webpage.

<option>

The tag that is put inside a selection tag (<select>) to define the available options in a drop-down list.

index.html

The filename for the first webpage in a website.

<p>

The paragraph tag.

<u>

Underline text tag.

The @media rule

Used in media queries to apply different styles for different media types/devices.

Internal Style Sheet

Used to add a unique style for a single document.

<select>

Used to create a drop-down list.

The margin Property

Used to create space around elements, outside of any defined borders.

pseudo-class

Used to define a special state of an element.

text-decoration: none;

Used to get rid of an underline, overline, line-through, or a combination of lines to selected text.

<fieldset>

Used to group related elements in a form and to draw a box around the related elements.

<link rel="stylesheet" type="text/css" href="style.css">

Used to link to external style sheets

The PUT Method

Used to send data to a server to create/update a resource. (Calling the same this method's request multiple times will always produce the same result.)

The POST Method

Used to send data to a server to create/update a resource. (Calling this method's request repeatedly have side effects of creating the same resource multiple times.)

<title>

text to display on the browser tab.


संबंधित स्टडी सेट्स

Section 16: Real Estate Financing: Mortgage Loans Unit 1

View Set

Lewis - Inflammation/Wound Healing - Ch 11

View Set

Cause and Effect Graphic Organizers

View Set

ALL Test Your Knowledge Quesitons (LM)

View Set

Perry: Chapter 5: Infertility, Contraception and Abortions EAQ

View Set

Chapter 8 Inquizitive Texas Government

View Set