What does HTML stand for HYPERTEXT MARKUP LANGUAGE

  • Slides: 20
Download presentation

What does HTML stand for?

What does HTML stand for?

HYPERTEXT MARKUP LANGUAGE

HYPERTEXT MARKUP LANGUAGE

What is the Document Type Declaration?

What is the Document Type Declaration?

<!DOCTYPE html> ALL HTML documents must start with a document type declaration.

<!DOCTYPE html> ALL HTML documents must start with a document type declaration.

What is an element?

What is an element?

HTML element identification: 1. start tag 2. message/text 3. end tag <tagname>text</tagname> <h 1>This

HTML element identification: 1. start tag 2. message/text 3. end tag <tagname>text</tagname> <h 1>This is a heading 1 tag</h 1>

What element is used at the beginning and ending of every HTML document?

What element is used at the beginning and ending of every HTML document?

HTML The HTML document 1. begins with: <html> 2. ends with: </html>

HTML The HTML document 1. begins with: <html> 2. ends with: </html>

Since the <head> element is not seen on the web page, why do we

Since the <head> element is not seen on the web page, why do we have a <head> tag?

The <head> element 1. holds data about the HTML file 2. defines document title

The <head> element 1. holds data about the HTML file 2. defines document title 3. can define styles and ways to search for your webpage 4. placed between <html> and <body> tag

Why do we have a <title> element?

Why do we have a <title> element?

The <title> element: 1. is code required and text only 2. accurate and meaningful

The <title> element: 1. is code required and text only 2. accurate and meaningful 3. defines title in browser toolbar 4. displays a title for the page in search engine-results

What element is used for the visual part of your web page?

What element is used for the visual part of your web page?

BODY What you see on the web page is between the beginning tag <body>

BODY What you see on the web page is between the beginning tag <body> and ending tag </body> of your HTML document.

What is an Attribute?

What is an Attribute?

Attributes 1. give more information about elements 2. always included in the start tag

Attributes 1. give more information about elements 2. always included in the start tag 3. typically written in a name/value combination: name="value"

Attribute Example: <a> tag defines: hyperlink. href attribute points to the URL web page

Attribute Example: <a> tag defines: hyperlink. href attribute points to the URL web page address. Text: hyperlink to specific web page <a href="https: //oetsgoblue. fun/whats-upwith-that-html-stuff-anyway/">Visit My Webpage</a>

Why do we use style attributes?

Why do we use style attributes?

Styles allow us to adjust the 1. font type, size and color 2. text

Styles allow us to adjust the 1. font type, size and color 2. text alignment 3. web page background colors 4. borders