My HTMLNOTES

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

An attribute should always have

1.A space between it and the element name (or the previous attribute, if the element already has one or more attributes). 2.The attribute name followed by an equal sign. 3.The attribute value wrapped by opening and closing quotation marks.

HTML markup

<head>, <title>, <body>, <header>, <footer>, <article>, <section>, <p>, <div>, <span>, <img>, <aside>, <audio>, <canvas>, <datalist>, <details>, <embed>, <nav>, <output>, <progress>, <video>, <ul>, <ol>, <li> and many others.

range

input type defines a slider control

the <img> element(an empty element, has no closing tag)

it embeds an image into our page in the position it appears. It does this via the src (source) attribute, which contains the path to our image file.

Hypertext

refers to links that connect web pages to one another, either within a single website or between websites

Content aside from the page content

the <aside> element define

<br>

the correct HTML element for inserting a line break?

<h1>

the correct HTML element for the largest heading

<body style="background-color:yellow;">

the correct HTML for adding a background color

<a href="http://www.w3schools.com">W3Schools</a>

the correct HTML for creating a hyperlink

HTML (HyperText Markup Language)

the most basic building block of the Web. It defines the meaning and structure of web content. Other technologies besides HTML are generally used to describe a web page's appearance/presentation (CSS) or functionality/behavior (JavaScript).

Links

they are what makes the web a web! To add a link, we need to use a simple element — <a> — "a" being the short form for "anchor". To make text within your paragraph into a link = 1.Choose some text, 2.Wrap the text in an <a> element, 3.Give the <a> element an href attribute, 4.Fill in the value of this attribute with the web address that you want the link to link to.

An <iframe>

used to display a web page within a web page.

href

stands for hypertext reference.

<ul>

a bulleted list

<table><tr><td>

elements are all <table> elements?

<li> (list item) element.(<li></li>)

Each item inside the lists is put inside an <li> (list item) element.

draw graphics

HTML <canvas> element

alt

HTML attribute specifies an alternate text for an image, if the image cannot be displayed?

<!-- and end with -->

HTML comments start/end

<nav>

HTML element defines navigation link

<title>

HTML element defines the title of a document?

<audio>

HTML element for playing audio files

<video>

HTML element for playing video files

<footer>

HTML element is used to specify a footer for a document or section

<header>

HTML element is used to specify a header for a document or section

<body style="background-image:url(background.gif)">

HTML for inserting a background image?

<img src="image.gif" alt="MyImage">

HTML for inserting an image

<input type="checkbox">

HTML for making a checkbox

<select>

HTML for making a drop-down list

<textarea>

HTML for making a text area?

<input type="text">

HTML for making a text input field

Event attributes

HTML, onblur and onfocus are:

The element

The opening tag, the closing tag and the content together comprise the element.

The main parts of our element

The opening tag: This consists of the name of the element (in this case, p), wrapped in opening and closing angle brackets. This states where the element begins or starts to take effect,The closing tag: This is the same as the opening tag, except that it includes a forward slash before the element name. This states where the element ends, and The content: This is the content of the element

the <body> element.(<body></body>)

This contains all the content that you want to show to web users when they visit your page, whether that's text, images, videos, games, playable audio tracks or whatever else.

the <head> element(<head></head>)

This element acts as a container for all the stuff you want to include on the HTML page that isn't the content you are showing to your page's viewers. This includes things like keywords and a page description that you want to appear in search results, CSS to style our content, character set declarations and more.

the <html> element(<html></html>)

This element wraps all the content on the entire page and is sometimes known as the root element.

the <title> element(<title></title>)

This sets the title of your page, which is the title that appears in the browser tab the page is loaded in. It is also used to describe the page when you bookmark/favourite it.

/

Which character is used to indicate an end tag?

The World Wide Web Consortium

Who is making the Web standards?

<ol>

a numbered list

Heading elements

allow you to specify that certain parts of your content are headings — or subheadings,HTML contains 6 heading levels, <h1>-<h6>

The <p>element(<p></p>)

are for containing paragraphs of text

Ordered lists(<ol></ol>)

are for lists where the order of the items does matter, such as a recipe. These are wrapped in an <ol> element.

Unordered lists(<ul></ul>)

are for lists where the order of the items doesn't matter, such as a shopping list. These are wrapped in a <ul> element.

Attributes

contain extra information about the element that you don't want to appear in the actual content.

<em>

correct HTML element to define emphasized text


Ensembles d'études connexes

HST 130 Ole Miss Wendy Smith Exam 2

View Set

N316A Autonomic Nervous Quiz [2]

View Set

PrepU ch.3 objective data: physical exam

View Set

Marketing Management - Iacobucci - Ch 9 (3)

View Set

NUR379 Evolve: Health Promotion and Safety - Health Promotion for Infants

View Set