HTML. Based mostly on

Similar documents
Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

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

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

Web Engineering (Lecture 01)

INTRODUCTION TO WEB USING HTML What is HTML?

HTML Hyper Text Markup Language

Certified HTML5 Developer VS-1029

Hyper Text Markup Language

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

Html basics Course Outline

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

Introduction to WEB PROGRAMMING

Hyper Text Markup Language

Web Designing HTML5 NOTES

Bridges To Computing

Introduction to HTML

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

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

Certified HTML Designer VS-1027

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

Chapter 4. Introduction to XHTML: Part 1

Desire2Learn: HTML Basics

Programmazione Web a.a. 2017/2018 HTML5

Markup Language SGML: Standard Generalized Markup Language. HyperText Markup Language (HTML) extensible Markup Language (XML) TeX LaTeX

Your Own Web Page; Quick and Dirty Via Mashup Reminder: Next Quiz on 4/15

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

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

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

A Brief Introduction to HTML

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

11. HTML5 and Future Web Application

CSC 121 Computers and Scientific Thinking

Tutorial 2 - HTML basics

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

A Balanced Introduction to Computer Science, 3/E

HTML CS 4640 Programming Languages for Web Applications

Unit Four (Hyper Text Markup Language) HTML. Lesson One Create Web Pages by Using HTML

Web Publishing with HTML

Management Information Systems

CSS: Cascading Style Sheets

1. Please, please, please look at the style sheets job aid that I sent to you some time ago in conjunction with this document.

UNIT II Dynamic HTML and web designing

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

Web Programming and Design. MPT Junior Cycle Tutor: Tamara Demonstrators: Aaron, Marion, Hugh

Introduction to web development and HTML MGMT 230 LAB

Web Design and Development ACS Chapter 3. Document Setup

Announcements. Paper due this Wednesday

Website designing by HTML. Home page designing

CMPT 165 Unit 2 Markup Part 2

E , Fall 2007 More with stylesheets

HTML = hyper text markup language

Web Development and Design Foundations with HTML5 8th Edition

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

Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo

Inline Elements Karl Kasischke WCC INP 150 Winter

The Structure of the Web. Jim and Matthew

How the Internet Works

HTML and CSS COURSE SYLLABUS

Chapter 1 Self Test. LATIHAN BAB 1. tjetjeprb{at}gmail{dot}com. webdesign/favorites.html :// / / / that houses that information. structure?

HTML TUTORIAL ONE. Understanding What XHTML is Not

Web Publishing Basics I

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

HTML OBJECTIVES WHAT IS HTML? BY FAITH BRENNER AN INTRODUCTION

Introduction to using HTML to design webpages

Hyper Text Marimp Language (HTML)

c122jan2714.notebook January 27, 2014

HTML + CSS. ScottyLabs WDW. Overview HTML Tags CSS Properties Resources

Creating Web Pages Using HTML

Announcements. 1. Class webpage: Have you been reading the announcements? Lecture slides and coding examples will be posted

Selected Sections of Applied Informatics

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

epromo Guidelines DUE DATES NOT ALLOWED PLAIN TEXT VERSION

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

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

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

Part 1: HTML Language HyperText Make-up Language

CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB

CS 1100: Web Development: Client Side Coding / Fall 2016 Lab 2: More HTML and CSS

Chapter 3 Web Design & HTML. Web Design Class Mrs. Johnson

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

Layout Manager - Toolbar Reference Guide

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

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

STD 7 th Paper 1 FA 4

Web Design and Application Development

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

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

Block & Inline Elements

.hedgehog { background-image: url(backyard.jpg); color: #ffff99; height: 6in; width: 12in; } .tube {

Back in the good old days type was set by hand using printing presses.

Revision for Grade 7 ASP in Unit :1&2 Design & Technology Subject

ITNP43: HTML Lecture 4

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

HTML Text Formatting. HTML Session 2 2

Introduction to CSS. 2 Sep 13. Derek Peacock. An introduction to defining CSS style rules using tags, classes and ids.

CSC Web Programming. Introduction to HTML

It is possible to create webpages without knowing anything about the HTML source behind the page.

HTML/CSS Lesson Plans

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS

Transcription:

HTML Based mostly on www.w3schools.com

What is HTML? The standard markup language for creating Web pages HTML stands for Hyper Text Markup Language HTML describes the structure of Web pages using markup HTML elements are the building blocks of HTML pages Your browser knows how to interpret and display HTML HTML is not WYSIWYG (what-you-see-is-what-you-get) Almost like a programming language

HTML elements HTML elements are represented by tags HTML tags label pieces of content such as "heading", "paragraph", "table", and so on Browsers do not display the HTML tags, but use them to render the content of the page Tags come in pairs Every element consists of a start tag and an end tag Example: <html>some html statements</html> Everything in between the start tag and end tag is an element controlled by that tag

HTML structure The root tag is <html> Every HTML document is entirely contained in an <html> tag Two elements inside <html>: <head> and <body> The <head> element is a container for metadata Always comes before <body> Metadata is data about the HTML document (usually not displayed) Two most common tags you can use in <head> are <title> and <style> The <title> element contains the title of your webpage The <style> element controls things like font type, font size, etc. The <body> element is the body of the your document Contains the actual information that is displayed by your browser

HTML body Body has no specific structure Elements are displayed in the order in which you write them Most common elements are: 1. Headings Six levels of importance, <h1> (most important) to <h6> 2. Paragraphs Contained in a <p> tag 3. HTML links Contained in an <a> tag (Ex: <a href= www.link.com >Some link</a>) 4. HTML images Defined with <img> tag 5. New lines Use the <br> tag (no need for a closing tag) HTML example: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_intro

HTML elements Can have nested elements Tags are not case-sensitive Good style to be consistent! Don t forget to close tags! Sometimes document will render correctly even if you forget

HTML attributes All HTML elements can have attributes Attributes provide additional information about an element Attributes are always specified in the start tag Attributes usually come in name/value pairs like: name="value Already saw the href attribute in links Example: <a href="https://www.w3schools.com">this is a link</a> The src attribute used similarly in images Example: <img src="img_girl.jpg"> Can also specify image width, height, etc. HTML example: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_attributes_img The style attribute specifies color, font, size, etc. Usually used with a <p> tag but can appear in other places too HTML example: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_attributes_style

HTML display You cannot be sure how HTML will be displayed Not WYSIWYG Will also vary across browsers, versions, etc. You should try to verify your output file in 2 browsers HTML does not recognize indentation, newline characters or any of the nice formatting stuff that Python has Only thing it recognizes are tags HTML example: https://www.w3schools.com/html/tryit.asp?filename=tryhtml_paragr aphs2

Formatting elements You can format your text in many ways: 1. <b> - Bold text 2. <strong> - Important text 3. <i> - Italic text 4. <em> - Emphasized text 5. <mark> - Marked text 6. <small> - Small text 7. <del> - Deleted text 8. <ins> - Inserted text 9. <sub> - Subscript text 10. <sup> - Superscript text

Block-level elements A block-level element always starts on a new line and takes up the full width available So far seen <h1>-<h6> and <p> Another important block-level element is <div> Often used as a container for other HTML elements It has no required attributes, but both style and class are common HTML example: https://www.w3schools.com/html/tryit.asp?filename=tryhtml _div_capitals Distinguish from inline elements Examples: links (<a>), images (<img>)

Want to know more? You probably should: HTML is becoming incredibly powerful HTML5 can embed videos, other programming languages, etc. Browsers are know essentially operating systems in their own right A very good place to learn more is www.w3schools.com Mostly just an intro but very accessible and easy to play with