HTML Hyper Text Markup Language

Similar documents
Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

More about HTML. Digging in a little deeper

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

INTRODUCTION TO HTML5! HTML5 Page Structure!

Certified HTML5 Developer VS-1029

Management Information Systems

HTML. Based mostly on

Hyper Text Markup Language

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS

This document provides a concise, introductory lesson in HTML formatting.

Hyper Text Markup Language

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Creating Web Pages Using HTML

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

Learning Objectives. Review html Learn to write a basic webpage in html Understand what the basic building blocks of html are

Web Development and Design Foundations with HTML5 8th Edition

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

Certified HTML Designer VS-1027

Programmazione Web a.a. 2017/2018 HTML5

Introduction to WEB PROGRAMMING

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

HTML+ CSS PRINCIPLES. Getting started with web design the right way

CSC Web Programming. Introduction to HTML

CSC 121 Computers and Scientific Thinking

Downloads: Google Chrome Browser (Free) - Adobe Brackets (Free) -

Web Programming Week 2 Semester Byron Fisher 2018

11. HTML5 and Future Web Application

Chapter 4. Introduction to XHTML: Part 1

HTML CS 4640 Programming Languages for Web Applications

Web Designing HTML5 NOTES

A Balanced Introduction to Computer Science, 3/E

Web Publishing Basics I

c122jan2714.notebook January 27, 2014

Markup Language. Made up of elements Elements create a document tree

MPT Web Design. Week 1: Introduction to HTML and Web Design

On a blog, code can mean many things. It can refer to the complicated

Course Overview. Week 1

CIS 228 (Fall, 2012) Exam 2, 11/20/12

Web Programming and Design. MPT Senior Cycle Tutor: Tamara Week 1

Introduction to HTML

Desire2Learn: HTML Basics

How the Internet Works

COMP519 Web Programming Lecture 3: HTML (HTLM5 Elements: Part 1) Handouts

The Structure of the Web. Jim and Matthew

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

Html basics Course Outline

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

Understanding this structure is pretty straightforward, but nonetheless crucial to working with HTML, CSS, and JavaScript.

HTML. Hypertext Markup Language. Code used to create web pages

The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data.

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

CMPT 165 Unit 2 Markup Part 2

Basic HTML Handout & Exercise Web Technology

INTRODUCTION TO WEB USING HTML What is HTML?

introduction to XHTML

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

Web Design and Application Development

The three common HTML terms you should begin with are elements, tags, and attributes.

Creating A Web Page. Computer Concepts I and II. Sue Norris

CHAPTER 1: GETTING STARTED WITH HTML CREATED BY L. ASMA RIKLI (ADAPTED FROM HTML, CSS, AND DYNAMIC HTML BY CAREY)

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

Announcements. Paper due this Wednesday

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Tutorial 2 - HTML basics

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

Learning Basic HTML: Workshop Session One (Prepared by James F. Daugherty, The University of Kansas)

Creating Web Pages. Getting Started

HTML and CSS: An Introduction

The University of Hawaii at Manoa Library Webpage Content/Design/Style Guidelines General Site Design... 2

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

Summary 4/5. (contains info about the html)

Working with HTML. must appear at the very beginning of your webpage. starts the first section of your page

MODULE 2 HTML 5 FUNDAMENTALS. HyperText. > Douglas Engelbart ( )

Hyper Text Markup Language HTML: A Tutorial

Programming of web-based systems Introduction to HTML5

HTML and CSS COURSE SYLLABUS

Introduction to HTML & CSS. Instructor: Beck Johnson Week 2

By Ryan Stevenson. Guidebook #2 HTML

HTML5 & CSS 8 th Edition. Chapter 2 Building a Webpage Template with HTML5

Cascading Style Sheet

Beginning Web Site Design

CSC 101: Lab #1 HTML and the WWW Lab Date: Tuesday, 1/26/2010 Report Due Date: Friday, 1/29/2010 3:00pm

FEWD START SCREENCAST!!!!

Authoring World Wide Web Pages with Dreamweaver

HTML Cheat Sheet for Beginners

UNIT II Dynamic HTML and web designing

The building block of a CSS stylesheet. A rule consists of a selector and a declaration block (one or more declarations).

HTML BEGINNING TAGS. HTML Structure <html> <head> <title> </title> </head> <body> Web page content </body> </html>

('cre Learning that works for Utah STRANDS AND STANDARDS WEB DEVELOPMENT 1

<page> 1 Document Summary Document Information <page> 2 Document Structure Text Formatting <page> 3 Links Images <page> 4

Creating and Building Websites

Web Technology. Assignment 3. Notes: This assignment is individual assignment, every student should complete it by himself.

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1

Skill Area 323: Design and Develop Website. Multimedia and Web Design (MWD)

ICT IGCSE Practical Revision Presentation Web Authoring

LAB 2 INTRODUCTION TO HTML

Transcription:

HTML Hyper Text Markup Language

Home About Services

index.html about.html services.html

Homepage = index.html

site root index.html about.html services.html images headshot.jpg charlie.jpg

A webpage built only with HTML is ugly

Therefore we must add CSS to give it structure and visual design

HTML Elements & Tags

Markup languages work by surrounding, or marking up, raw text with informacon the computer can interpret. <h1>hello world!</h1>

<h1>headings</h1> Each type of content must be labeled as a specific HTML element and sandwiched between and opening and closing tag. <h2>subheadings</h2> <video>videos</video> <p>paragraphs</p> <li>lists</li> <a>links</a>

Raw text <p>charlie is a my dachshund.</p> Opening tag Closing tag

These elements are owen nested inside one another, with each containing informacon about the type and structure of the informacon to be displayed in the browser. Remember: The order that you write your code is the order that content will be displayed in the browser. <div> <h1>fun Fact</h1> <p>charlie the dachshund weighs 13 lbs., while Boris the black cat weighs in at a whopping 30 lbs. Crazy.</p> </div>

a article aside br canvas code div DOCTYPE em footer form h1, h2, h3, h4, h5, h6 head header html hr iframe img li link lists meta nav object ol p script section span small strong style table title ul

Basic Page Structure In order for the browser to render your code into a webpage, you need to setup your file with a basic html structure.

<!DOCTYPE html> <html> <head> <meta charset= utf-8 > <title>type Title Here</title> </head> <body> </body </html>

You can let web browsers know that you are using HTML by starcng your document with a document type declaracon. <!DOCTYPE html>

<html> You can let web browsers know that you are using HTML by starcng your document with a document type declaracon. Anything between these tags will be interpreted as HTML code. </html>

<head> Content within the head will not be displayed in Inside the <html> tags there are two main containers: the browser, this space is for meta data. </head> <head> and <body> Remember: The head always goes above the body <body> Everything that you want the browser to render should be put into the body. This is essencally the visible website. </body>

The content in the <head> element includes the character set, Ctle, and links to stylesheets, jquery, and fonts. <head> <meta charset= utf-8 > <title>dachshund s Rule</title> <link href= stylesheet.css rel= stylesheet type= text/css > </head>

<body> <section> <article> <h1>smoothies</h1> When wricng code, be sure to indent. It s necessary for readability and is an industry standard, plus people will look at you funny if you don t do it. <h2>these recipes will make you healthy.</h2> <p>for a limited time offer you can try these delicious smoothies for only $29.99 a month!! Don t miss out on your only opportunity to get healthy in 2018.</p> <ul> <li>bananas</li> <li>strawberries</li> <li>blueberries</li> </article> </section> </body>

<body> <section> <article> <h1>smoothies</h1> <h2>these recipes will make you healthy.</h2> <p>for a limited time offer you can try these delicious smoothies for only $29.99 a month!! Don t miss out on your only opportunity Nope. to get healthy in 2018.</p> <ul> <li>bananas</li> <li>strawberries</li> <li>blueberries</li> </article> </section> </body>

HTML Body Elements <header> used for introductory content and can contain any element except another header or footer. <nav> contains the major navigational elements and is used by screen readers to identify main nav. <article> a container for sections of content or can stand alone. <sections> groups related content together, typically each section would get its own header (can be nested inside an article).

<aside> when inside an article it can be used to contain information about an article when outside an article it can be used as a container for information that is related to an entire page (i.e. side bar). <figure> can be used to contain any content that is referenced from an article (mainly images and graphs). <footer> footer that appears at the bottom of a page or a section and cannot contain another header or footer. <div> a generic container that can be used for anything.

Text Elements <h1> <h1> <h1> <h1> <h1> <h1> the browser displays headings at different sizes with <h1> being the largest and the <h6> smallest. <p> the browser will separate each paragraph on a new line and with some space between. <hr> horizontal rule <br> line break

Semantic Markup Semantic markup provides extra information about the content (i.e. word emphasis, quotations, etc.) <strong> strong emphasis (bold) <em> emphasis (italic) <small> fine print <blockquote> long quotes, indented paragraph <cite> italicizes a reference <code> code sample <span> allows you to apply an attribute to any snippet of content <del> strike through <ins> underlined <sup> superscript

List Elements <ul> unordered lists these lists utilize bullets <ol> unordered lists these lists utilize numbers <li> list item

<ul> <li>bananas</li> <li>strawberries</li> <li>blueberries</li> Bananas Strawberries Blueberries </ul> <ol> <li>bananas</li> <li>strawberries</li> <li>blueberries</li> 1. Bananas 2. Strawberries 3. Blueberries </ol>

Element Attributes Attributes provide additional information about the contents of an element. They appear in the opening tag of the element and are made up of two parts: a name and a value, separated by an equals sign. <p id= column >A paragraph goes in here.</p>

Images <img> allows you to add an image to your website. It is an empty element meaning it doesn t have a close tag. <img src= images/headshot.jpg >

Anchor tag (links) <a> anchor tags are links to other websites, or to another page, section, or file within the same website.. <a href="http://www.yahoo.com">click here</a> Absolute url Text displayed <a href= about.html">about</a> RelaCve url Text displayed

File Organization

site root index.html about.html services.html images headshot.jpg charlie.jpg

Uniform Resource Locator (URL) URLs website addresses contain information on where a particular file is in relation to the site s root folder and what the browser should do with it. Each file on the internet has a unique URL. http://www.healthyeating.com/recipes/smoothies/banana.html Scheme Server Path File

Absolute URLs show the entire path to the file like a complete street address. http://www.healthyeating.com/recipes/smoothies/banana.html Relative URLs point to a file in a directory in reference to the current html page (i.e. banana.html is relative to www. healthyliving.com because it is located in the website s same directory or, folder): /smoothies/banana.html /banana.html

File Naming Best Practices All lowercase No special characters (#$%_&!) Be simple, yet specific No spaces (use a dash) Use file extension (.jpg,.png,.html, etc.) bad... img_00738.jpg fruit pic.jpg home.html