HTML: Basics. Agenda 12:00 - HTML Basics 1:00 - HTML – Lists & Styling Break 2:00 CSS Basics 3:00 Lunch 3:30 CSS Selectors & Classes Break 5:00 HTML5.

Slides:



Advertisements
Similar presentations
Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
Advertisements

Table, List, Blocks, Inline Style
HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
HTML: HyperText Markup Language Hello World Welcome to the world!
Cascading Style Sheets
/k/k 1212 Cascading Style Sheets Part one Marko Boon
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
HTML – A Brief introduction Title of page This is my first homepage. This text is bold  The first tag in your HTML document is. This tag tells your browser.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
Recognizing the Benefits of Using CSS 1. The Evolution of CSS CSS was developed to standardize display information CSS was slow to be supported by browsers.
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
Instructional Technology & Design Office or Insert Workshop Name Presented by Your Name Here.
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
Workshop: CSS-Part I Cascading Style Sheets add style to your HTML web pages.
Cascading Style Sheet (CSS) Instructor: Dr. Fang (Daisy) Tang
4.01 Cascading Style Sheets
Stylin’ with CSS. 2 Topics What is CSS? Why CSS? CSS Examples.
JMD2144 – Lesson 5 Web Design & New Media. ‘Div’ide and conquer One of the most versatile structure tags available is the.. tag Short for ision, it allows.
HIGHER COMPUTING CSS. WHAT IS CSS? CSS: Cascaded Style Sheets used to separate a web site’s content(information) from its style(how it looks).
© 2012 Adobe Systems Incorporated. All Rights Reserved. LEARNING THE LANGUAGE OF THE WEB INTRODUCTION TO HTML AND CSS.
Chapter 4 Cascading Style Sheets Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 3 Key Concepts 1 Copyright © Terry Felke-Morris.
Principles of Web Design 6 th Edition Chapter 10 – Data Tables.
Tutorial #3 Cascading Style Sheets. Review: Last Class Image sizing Pathnames Project Default Path Relative Path Absolute Path Blackboard Homework Submission.
Cascading Style Sheets. Defines the presentation of one or more web pages Similar to a template Can control the appearance of an entire web site giving.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
Web Design I Spring 2009 Kevin Cole Gallaudet University
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
Doman’s Sections Information in this presentation includes text and images from
I NTRO TO CSS IAT100 Spring I NTRO TO CSS Covered in this lesson: Overview What is CSS? Why to use CSS? CSS for Skinning your Website Structure.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
CHAPTER 1 HTML & HTML5 I อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
CSS My favourite ICT lesson By Federico Boschi Cascading Style Sheets.
Tutorial #3 Cascading Style Sheets. Tutorial #2 Review - Anchors Links to Site DMACC Internal Links Go to Top Mail To me Local.
Introduction to CSS. What is CSS?  Cascading Style Sheets  Used for styling HTML  Also important in javascript and jquery for selectors  External.
ALBERT WAVERING BOBBY SENG. Week 2: HTML + CSS  Quiz  Announcements/questions/etc  Some functional HTML elements.
Stylin’ with CSS Monday October 8 th and Tuesday October 9 th.
 Use the think diagram … ISP Server.
Creating Your Own Webpage COSC Cascading Stylesheets Think of: HTML: content of your webpage HTML has tags CSS: presentation and appearance of your.
WRA HTML & CSS – BUILDING WEBPAGES. TODAY’S AGENDA Review: external stylesheets Review: transforming a list Intro: the object Intro: the.
DIV, Span, CSS.
Course created by Sarah Phillips BBCD Melbourne BAPDCOM Version 1 – April 2013.
3. Cascading Style Sheets (CSS) M. Udin Harun Al Rasyid, S.Kom, Ph.D Lab Jaringan Komputer.
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
Cascading Style Sheets I Embedded Style Sheets. Page Design ICSS 2Instructor: Sean Griffin What is a Style Sheet? A style sheet is a text file that contains.
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
1 CSS محمد احمدی نیا 2 Of 21 What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements 
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
Chapter 1: Intro to HTML Section 1: HTML Structure Presentation Section 2: Layout of an HTML File Section 3: Working with Lists & Tables Section 4: HTML.
Ch. 2. HTML 1. HTML? 2  Tim Berner-Lee first proposed (1981) and coded (1991)  HTML: HyperText Markup Language  Web browser 용  W3C (World Wide Web.
Unit 3 - Review. Topics 1. Tag, Attribute, Value 2. CSS Rule Syntax + link 3. Categories of Selectors 4. Inline vs Block Tags 5. CSS Layout 6. CSS Box.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem External.
4.01 Cascading Style Sheets
Semester - Review.
Unit 3 - Review.
Creating Your Own Webpage
Elements of HTML Web Design – Sec 3-2
INTRODUCTION TO HTML AND CSS
Elements of HTML Web Design – Sec 3-2
INTRODUCTION TO HTML AND CSS
Johan Ng and Muhammad Hazzry
4.01 Cascading Style Sheets
Presentation transcript:

HTML: Basics

Agenda 12:00 - HTML Basics 1:00 - HTML – Lists & Styling Break 2:00 CSS Basics 3:00 Lunch 3:30 CSS Selectors & Classes Break 5:00 HTML5 Page using CSS & HTML

HTML is the BEST!

See the code with the s? HTML is the BEST!

Your turn HTML is the BEST!

Key Points 1.HTML stands for HyperText Markup Language. Hypertext means "text with links in it."

Key Points 2. A markup language is a programming language used to make text do more than just sit on a page: it can turn text into images, links, tables, lists, and much more.

Key Points 3.What makes webpages look attractive? That's CSS—Cascading Style Sheets. “Think of it like skin and makeup that covers the bones of HTML.” - codecademy

Basic Components Add your own text to the page.

Add your own text to the page.

Tags Question: So what are the <> open and close brackets? Answer: Anything inside these brackets is called a Tag

Rules for Tags 1.Tags nearly always come in pairs: an open tag and a closing tag Open: Close:

Rules for Tags 2. They’re like parentheses: if you open one, you have to close it.

Rules for Tags 3. Tags nest, like the Russian dolls, so you should close them in the same order they lay down.

Rules for Tags - Nesting TEXT

Head & Body Add your own text to the page.

Titles

My Title

Body & Paragraphs

My Title

Checking In Everyone has coded in HTML today!

New Skills 1.When and why we use HTML 2.Set up an HTML file with tags 3.Title the webpage (in the ) 4.Create paragraphs (in the with tags)

Headings

Links

Same Window (_Self)

Same Window (_Self)

Same Window (_Self)

News! Same Window (_Self)

News! Same Window (_Self)

News! Same Window (_Blank)

Me Same Window (_Mailto:)

Images

Images + Links

Review

My Title

Header

Paragraph

HTML: Lists & Styling

Ordered Lists 1.Coffee 2.Tea 3.Milk

Coffee Tea Milk

Coffee Tea Milk

Unordered Lists Coffee Tea Milk

Nested Lists Coffee Tea o Black tea o Green tea Milk

Nested Lists

Nested Lists

Nested Lists

Guacamole

Guacamole

Styling

comments This is a paragraph.

font-size

color

color + font-size

font-family Title

all together

background-color

align

bold (strong) You have Mad Skills

emphasis You have Mad Skills

Summary – your new skills! Make ordered and unordered lists Change the color, size and type of font Add comments to our HTML file Change the background color Align text Bold and italicize text

Review Make ordered and unordered lists Change the color, size and type of font Add comments to our HTML file Change the background color Align text Bold and italicize text

image & link

lists Sherlock Holmes Watson loyal patient brave Mycroft

style Title

bold & emphasis

HTML: Tables, Div & Span

tables

Tessa Gray Magnus Bane

Tessa Gray Changling? Magnus Bane Warlock

Tessa Gray Changling? Magnus Bane Warlock

Tessa GrayChangling? Magnus BaneWarlock James CarstairsNephilium

Character Gift Tessa GrayChangling? Magnus BaneWarlock James CarstairsNephilium

NameGift Tessa GrayChangling? Magnus BaneWarlock James CarstairsNephilium

3 columns across!

Infernal Devices Character Gift

Infernal Devices Character Gift

style

div(isions)

Header

style

linking a div tag

span tags

paragraph

CSS: Basics

CSS

span { color:blue; }

span { color:blue; font-family: verdana; }

inline styling vs. css One is awesome

syntax selector { property: value; }

syntax Source:

h1 { text-align:center; font-size:30px; color: Orange; }

span { font-size:40px; background-color: Green; font-style: italic; }

comments /*I'm a CSS comment!*/

review

h1 { color:red; } h2 { color:purple; font-size:25px; } h3 { font-family:Impact; } p { font-style:italic; color:blue; }

hexadecimal colors h1 { color:#DAA520; }

pixels vs. em p { font-size:2em; }

default fonts h1 { color:#E87D73; font-family:serif; }

backup values p { font-family: Garamond, cursive; }

background-color, height & width div { background-color:#cc0000; height:100px; width:100px; }

borders td { height:50px; width:50px; border:1px dashed blue; } table { border: 1px solid black;

styling links a { color:#cc0000; text-decoration:none; }

review h1 { font-family: verdana; color:#00FF00; } p { font-size:18px; color:#FFA500; }

CSS: Selectors

body { background-color:#C6E2FF; }

div { background-color:#C6E2FF; } div li { font-family: Impact; {

CSS: Branching

classes.fancy { font-family: cursive; color: #0000CD; }

ids #serious { font-family:Courier; color:#CC0000; }

Bring it all together – HTML5

Specify a language

Specify your character set

Specify a language

Semantic Layout