HTML #1

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

Use HTML headings for ____ only. Don't use headings to make text BIG or bold.

Headings only (for search engines to index the structure and content of your web page)

The ____ ____ represents the document type, and helps browsers to display web pages correctly

<!DOCTYPE> declaration

What is the "root" element of an HTML page?

<html>

How to define an image in HTML?

<img>

What are attributes?

Attributes provide additional information about an element

Tag: <h1> to <h6> Description?

Defines HTML headings.

_____ provide additional information about HTML elements.

HTML attributes

What does HTML stand for and what is it?

HTML stands for "Hyper Text Markup Language" -"Hypertext" refers to the Hyperlinks that Webpages contain. (example:

Search engines use the ____ to index the structure and content of your web pages.

Headings

`<!DOCTYPE html> What is this? What is its function? Where is it located in the code/HTML document?

It's a declaration that defines that the document is an HTML5 document

Name the 3 main parts of an HTML Element.

Start tag Content End Tag

HTML links are defined with what tag?

The <a> tag The link's destination is defined with the href attribute <a href="______">

<body>

The <body> element contains all the VISIBLE CONTENT (i.e. headers, paragraphs, images, hyperlinks, tables, lists ect..)

<h1> what does it define? function? location?

The <h1> element defines a large header. The function is to show the browser what a heading is, it also changes the visible size and boldness of the content contained within.

<p> What does it define? Function? Location?

The <p> element defines a paragraph. It is located nested within the <body> element and usually below a <header> if there is one.

What is the file extension used for HTML documents?

either: .htm or .html (*with encoding set to the standard UTF-8)

Type out the basic format of an HTML document

okay

Name 4 attributes that can be added to the <img> tag

src alt width height

<head> What is this? What is its function? Where is it located on the HTML document

the <head> element contains the meta-information about the page

What is the purpose of a web browser?

To read HTML documents and display them as web pages

The <img> tag is used to ______ The src attribute specifies the ______

embed an image in an HTML page. the srce attribute secifies the path to the image to be displayed

<title> What is this? What is it's function? Where is it located in the HTML page structure?

The <title> element specifies a title (Which can be seen in the browser's title bar or the webpage's tab)

What is a Hyperlink? What does it look like? here is it found? what is it used for? A hyperlink can either point to a __________ or to a ___________ What kind of text contains Hyperlinks? (tech term)

(Also simply: "Links") are signposts a reader can click on to follow one rabbit hole In computing, a hyperlink, or simply a link, is a reference to data that the reader can directly follow either by clicking, tapping, or hovering. A hyperlink points to a whole document or to a specific element within a document. Hypertext is text with hyperlinks.

All HTML ____ can have attributes ____ provide additional information about elements Attributes are always specified in the ____ Attributes usually come in ____ pairs like: ____

1) elements 2) attributes 3) start tag 4) Name value pairs like: name="value"

The <a> tag defines a ____. The href attribute specifies the ____ of the page the link goes to:

1) hyperlink 2) URL

Each HTML heading has a default size. However, you can specify the size for any heading with the ____ attribute, using the CSS ____-____ ____

1) style attribute 2) font-size property example: <h1 style="font-size:60px;">Heading 1</h1>

HTML headings are defined with the ____ to ____ tags. ____ defines the most important heading. ____ defines the least important heading:

1. <h1> to <h2> tags 2. <h1> defines the most important heading 3) <h6> defines the least important heading`

Write out the link element

<a href = _______>Link</a>

Tag: <body> Description?

Defines the document's body.

Tag: <html> Description?

Defines the root of an HTML document.

Elements with no content are called what?

Empty Elements (i.e. <br> *no end tag required)

Elements with no content are called what? And what do they not have?

Empty elements have no content and also NO END TAG EXAMPLE: <br>

What are HTML Elements? What is their function?

HTML Elements label bits of content and tell browser how to display it.


Kaugnay na mga set ng pag-aaral

Ch 35 Assessment of Immune Function

View Set

Bacteria and Archaea: The Prokaryotic Domains Ch. 26

View Set

MICROBIOLOGY LECTURE AND LAB FINAL REVIEWS

View Set

The Crucible Acts 1 and 2 Study Guide.

View Set

Unit 4 Lead Generation and Advertising

View Set

Yearbook Copy: Traditional Copy records the event of the year

View Set

Practice Guidelines on Nonrestorative Treatments for Carious Lesions

View Set