SlideShare a Scribd company logo
Introduction to HTML and
CSS
Lecture 1
Who is this guy?
Lee Lundrigan
Soft ware Engineer
Blazing Cloud, Inc.

iPhone / iPad Applications in Objective-C
Javascript
HTML / CSS

Wrote a cross browser CSS framework for
iPhone, Android, Blackberry, and Windows Mobile.

Wrote a book - Pro Smartphone Cross-Platform
Development
Who are YOU?
What are we going to
talk about in this class?

XML

HTML foundation

CSS foundation

Website components
What will we not cover
in this class?
Differences between HTML and XHTML

Cross browser compatibility (including the mobile
space)

HTML 5 and CSS 3

Webpage Layouts
Todays Goals


Integrated Development Environment (IDE)

XML

HTML / XHTML

Introduction to CSS
Integrated Development
Environments
Oxygen XML Editor

  http://www.oxygenxml.com/

Aptana

  http://www.aptana.com/

TextEdit (on Mac)

TextPad (on Windows)
XML

Definition: Extensible Markup Language

XML is a simple, very flexible text format derived from
SGML

W3C sets the XML standards

Current version: 1.0
<node>
<node>
</node>
<node />
XML Cont....
Tag: A markup construct that begins with "<" and
ends with ">"

  Three different kinds of Tags

    start-tags <tag>

    end-tags </tag>

    empty-tags <tag />

Declaration: Optional information about the XML
document
       <?xml version="1.0" encoding="UTF-8"?>
XML Cont...
Attribute

  A name/value pair that exists within a start-tag
  or empty-element tag.

  <img src=”firefox.png” alt=”Firefox Icon” />

  The <img /> tag is an empty element tag with
  two attributes: src and alt.
XML Example
<?xml version="1.0" encoding="UTF-8" ?>
<ship color=”blue”>
   <captain>Mr.McGee</captain>
   <crew>
      <member>Joe</member>
      <member>Jane</member>
   </crew>
   <anchored value=”true” />
</ship>
LAB 1


Lets build a simple XML document together
<HTML>




The
markup
language
used
to
describe
web
pages.
HTML
stands
for:

Hypertext
Markup
Language
What’s a Markup
       Language?

It
is
a
set
of
symbols
and

rules
in
a
document
that

describe
its
structure
and

format.

Who decides these
          rules?
        W3C (WORLD WIDE WEB CONSORTIUM)

W3C is an international standards body for both
HTML and CSS

Formed in October 1994

Founded by Tim Berners-Lee

Has 356 members as of September 09’
HTML Tags

are special keywords surrounded by angle bracket
like <div>

Most HTML tags come in pairs like <div></div>

  Consisting of an opening and closing tag
Basic Tags
<a href=”http://www.google.com”>This is a link tag to Google.com</a>

<p>This is a paragraph tag</p>

<div>This tag represents a division in the page (called a “div”)</div>

<img src=”C:Desktopimage.png” alt=”My Image” />

<h1>This is heading 1..the largest heading</h1>

<h2>This is heading 2..the second largest heading</h2>

   Heading tags are defined h1-h6

   Heading tags work just like headings in your favorite word processor
Basic Tags Continued

<br /> is a line break and can be used inside text-
nodes.

<ul> is an unordered list. It has children known as
<li> list items. Next to each list item will be a
bullet.
       <ul>
         <li>Cat</li>
         <li>Dog</li>
         <li>Mouse</li>
       </ul>
.HTM, .HTML or .XHTML?
Document extensions

 .HTM is the same as .HTML

   .HTM is a remnant from the old days when file
   extensions were only three letters

 .XHTML is the same as a .HTML document
 except an .XHTML document is a well-formed
 XML document
Structure of an HTML
      Document
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
     <title></title>
  </head>
  <body>
  </body>
</html>
Doctype (DTD)
                   Document type declaration


 Transitional
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


 XHTML == Markup MUST be well formed XML

 Transitional == Contains all HTML elements and
 attributes, INCLUDING presentational and
 deprecated elements (like the <font> tag)
<html>

The <html> tag tells the browser that this is an
HTML document.

The html element is the outermost element in
HTML and XHTML documents. The html element
is also known as the root element.
<head>
hidden from the user

can contain:

  meta information

  stylesheet references

  scripts

  title
<body>
The content of the document

  text

  hyperlinks

  images

  tables

  lists

  etc...
Deprecated what?

Basically, try to avoid using things marked as
DEPRECATED

  While they are supported in the current version
  there is no guarantee future versions will
  continue support
Good Practice
HTML elements should be lowercase

  Why? The W3C recommends it and may require
  it in the future.

All elements should be closed.

  Close an element by either adding a forward
  slash to the start element <br /> or add a
  forward slash to the ending element like <div></
  div>
Helpful documentation	

W3schools

  http://www.w3schools.com/tags/default.asp

  http://www.w3schools.com/html/default.asp

http://en.wikipedia.org/wiki/XML

http://en.wikipedia.org/wiki/HTML
Homework

Make an HTML page using images and
paragraphs (include headers and sub headings)

Make a link on the page to a new page

READ:

  Well-formed XML:

 http://www.developer.com/net/vb/article.php/
 797861/Well-Formed-XML.htm

More Related Content

What's hot

Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you need
Dipen Parmar
 
HTML & CSS Masterclass
HTML & CSS MasterclassHTML & CSS Masterclass
HTML & CSS Masterclass
Bernardo Raposo
 
Introduction to html course digital markerters
Introduction to html course digital markertersIntroduction to html course digital markerters
Introduction to html course digital markerters
SEO SKills
 
Web I - 02 - XHTML Introduction
Web I - 02 - XHTML IntroductionWeb I - 02 - XHTML Introduction
Web I - 02 - XHTML Introduction
Randy Connolly
 
Hushang Gaikwad
Hushang GaikwadHushang Gaikwad
Hushang Gaikwad
Hushnag Gaikwad
 
Week 2-intro-html
Week 2-intro-htmlWeek 2-intro-html
Week 2-intro-html
Shawn Calvert
 
Intro to HTML & CSS
Intro to HTML & CSSIntro to HTML & CSS
Intro to HTML & CSS
Syed Sami
 
Html,javascript & css
Html,javascript & cssHtml,javascript & css
Html,javascript & css
Predhin Sapru
 
Web Development using HTML & CSS
Web Development using HTML & CSSWeb Development using HTML & CSS
Web Development using HTML & CSS
Brainware Consultancy Pvt Ltd
 
Css notes
Css notesCss notes
HTML Email
HTML EmailHTML Email
HTML Email
Shawn Calvert
 
Web front end development introduction to html css and javascript
Web front end development introduction to html css and javascriptWeb front end development introduction to html css and javascript
Web front end development introduction to html css and javascript
Marc Huang
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
Abhishek Kesharwani
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
Mario Hernandez
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
Knoldus Inc.
 
What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)
Ahsan Rahim
 
Html css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers workHtml css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers work
Albino Tonnina
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
Shawn Calvert
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
Ajay Khatri
 
Html
HtmlHtml

What's hot (20)

Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you need
 
HTML & CSS Masterclass
HTML & CSS MasterclassHTML & CSS Masterclass
HTML & CSS Masterclass
 
Introduction to html course digital markerters
Introduction to html course digital markertersIntroduction to html course digital markerters
Introduction to html course digital markerters
 
Web I - 02 - XHTML Introduction
Web I - 02 - XHTML IntroductionWeb I - 02 - XHTML Introduction
Web I - 02 - XHTML Introduction
 
Hushang Gaikwad
Hushang GaikwadHushang Gaikwad
Hushang Gaikwad
 
Week 2-intro-html
Week 2-intro-htmlWeek 2-intro-html
Week 2-intro-html
 
Intro to HTML & CSS
Intro to HTML & CSSIntro to HTML & CSS
Intro to HTML & CSS
 
Html,javascript & css
Html,javascript & cssHtml,javascript & css
Html,javascript & css
 
Web Development using HTML & CSS
Web Development using HTML & CSSWeb Development using HTML & CSS
Web Development using HTML & CSS
 
Css notes
Css notesCss notes
Css notes
 
HTML Email
HTML EmailHTML Email
HTML Email
 
Web front end development introduction to html css and javascript
Web front end development introduction to html css and javascriptWeb front end development introduction to html css and javascript
Web front end development introduction to html css and javascript
 
uptu web technology unit 2 html
uptu web technology unit 2 htmluptu web technology unit 2 html
uptu web technology unit 2 html
 
Introduction to HTML and CSS
Introduction to HTML and CSSIntroduction to HTML and CSS
Introduction to HTML and CSS
 
Introduction of Html/css/js
Introduction of Html/css/jsIntroduction of Html/css/js
Introduction of Html/css/js
 
What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)What is HTML - An Introduction to HTML (Hypertext Markup Language)
What is HTML - An Introduction to HTML (Hypertext Markup Language)
 
Html css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers workHtml css workshop, lesson 0, how browsers work
Html css workshop, lesson 0, how browsers work
 
Html / CSS Presentation
Html / CSS PresentationHtml / CSS Presentation
Html / CSS Presentation
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Html
HtmlHtml
Html
 

Viewers also liked

Html Ppt
Html PptHtml Ppt
Html Ppt
vijayanit
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
MayaLisa
 
Html Slide Part-1
Html Slide Part-1Html Slide Part-1
Html Slide Part-1
AAKASH KUMAR
 
process management
 process management process management
process management
Ashish Kumar
 
Tesla S - Great Layman's Overview Presentation
Tesla S - Great Layman's Overview PresentationTesla S - Great Layman's Overview Presentation
Tesla S - Great Layman's Overview Presentation
W3 Group Consulting
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
vikasgaur31
 
Accessibility & Compatibility
Accessibility & CompatibilityAccessibility & Compatibility
Accessibility & Compatibility
Jared Smith
 
HTML presentation for beginners
HTML presentation for beginnersHTML presentation for beginners
HTML presentation for beginners
jeroenvdmeer
 
Web Security
Web SecurityWeb Security
Web Security
Bharath Manoharan
 

Viewers also liked (9)

Html Ppt
Html PptHtml Ppt
Html Ppt
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Html Slide Part-1
Html Slide Part-1Html Slide Part-1
Html Slide Part-1
 
process management
 process management process management
process management
 
Tesla S - Great Layman's Overview Presentation
Tesla S - Great Layman's Overview PresentationTesla S - Great Layman's Overview Presentation
Tesla S - Great Layman's Overview Presentation
 
Introduction to html
Introduction to htmlIntroduction to html
Introduction to html
 
Accessibility & Compatibility
Accessibility & CompatibilityAccessibility & Compatibility
Accessibility & Compatibility
 
HTML presentation for beginners
HTML presentation for beginnersHTML presentation for beginners
HTML presentation for beginners
 
Web Security
Web SecurityWeb Security
Web Security
 

Similar to HTML/CSS Lecture 1

HTML 5
HTML 5HTML 5
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
actanimation
 
INTRODUCTION FOR HTML
INTRODUCTION  FOR HTML INTRODUCTION  FOR HTML
INTRODUCTION FOR HTML
Rahul Bathri
 
Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easily
shabab shihan
 
Vision academy sachinsir_9822506209_html_java_script_notes (1)
Vision academy sachinsir_9822506209_html_java_script_notes (1)Vision academy sachinsir_9822506209_html_java_script_notes (1)
Vision academy sachinsir_9822506209_html_java_script_notes (1)
ShraddhaGurav7
 
Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3
bluejayjunior
 
Html basics
Html basicsHtml basics
Html basics
mcatahir947
 
Grade 10 COMPUTER
Grade 10 COMPUTERGrade 10 COMPUTER
Grade 10 COMPUTER
Joel Linquico
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
VaibhavSingh887876
 
Uta005 lecture2
Uta005 lecture2Uta005 lecture2
Uta005 lecture2
vinay arora
 
BSC notes of _HTML_Easyto understand lease see.pptx
BSC notes of _HTML_Easyto understand lease see.pptxBSC notes of _HTML_Easyto understand lease see.pptx
BSC notes of _HTML_Easyto understand lease see.pptx
VikasTuwar1
 
HTML practical file
HTML practical fileHTML practical file
HTML practical file
Kuldeep Sharma
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
xu fag
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
Nikita Garg
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
Aiman Hud
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
Minea Chem
 
Html
HtmlHtml
Html 5
Html 5Html 5
HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
BG Java EE Course
 
3 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp023 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp02
Aditya Varma
 

Similar to HTML/CSS Lecture 1 (20)

HTML 5
HTML 5HTML 5
HTML 5
 
HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)HTML (Hyper Text Markup Language)
HTML (Hyper Text Markup Language)
 
INTRODUCTION FOR HTML
INTRODUCTION  FOR HTML INTRODUCTION  FOR HTML
INTRODUCTION FOR HTML
 
Eye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easilyEye catching HTML BASICS tips: Learn easily
Eye catching HTML BASICS tips: Learn easily
 
Vision academy sachinsir_9822506209_html_java_script_notes (1)
Vision academy sachinsir_9822506209_html_java_script_notes (1)Vision academy sachinsir_9822506209_html_java_script_notes (1)
Vision academy sachinsir_9822506209_html_java_script_notes (1)
 
Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3Intr to-html-xhtml-1233508169541646-3
Intr to-html-xhtml-1233508169541646-3
 
Html basics
Html basicsHtml basics
Html basics
 
Grade 10 COMPUTER
Grade 10 COMPUTERGrade 10 COMPUTER
Grade 10 COMPUTER
 
Introduction to HTML.pptx
Introduction to HTML.pptxIntroduction to HTML.pptx
Introduction to HTML.pptx
 
Uta005 lecture2
Uta005 lecture2Uta005 lecture2
Uta005 lecture2
 
BSC notes of _HTML_Easyto understand lease see.pptx
BSC notes of _HTML_Easyto understand lease see.pptxBSC notes of _HTML_Easyto understand lease see.pptx
BSC notes of _HTML_Easyto understand lease see.pptx
 
HTML practical file
HTML practical fileHTML practical file
HTML practical file
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
 
POLITEKNIK MALAYSIA
POLITEKNIK MALAYSIAPOLITEKNIK MALAYSIA
POLITEKNIK MALAYSIA
 
4. html css-java script-basics
4. html css-java script-basics4. html css-java script-basics
4. html css-java script-basics
 
Html
HtmlHtml
Html
 
Html 5
Html 5Html 5
Html 5
 
HTML Fundamentals
HTML FundamentalsHTML Fundamentals
HTML Fundamentals
 
3 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp023 1-html-fundamentals-110302100520-phpapp02
3 1-html-fundamentals-110302100520-phpapp02
 

More from Lee Lundrigan

Iagc2
Iagc2Iagc2
Interactive Graphics using Javascript, HTML5 and CSS3
Interactive Graphics using Javascript, HTML5 and CSS3Interactive Graphics using Javascript, HTML5 and CSS3
Interactive Graphics using Javascript, HTML5 and CSS3
Lee Lundrigan
 
Lecture 1 adv
Lecture 1 advLecture 1 adv
Lecture 1 adv
Lee Lundrigan
 
Lecture3
Lecture3Lecture3
Lecture3
Lee Lundrigan
 
Lecture2
Lecture2Lecture2
Lecture2
Lee Lundrigan
 

More from Lee Lundrigan (6)

Iagc2
Iagc2Iagc2
Iagc2
 
Interactive Graphics using Javascript, HTML5 and CSS3
Interactive Graphics using Javascript, HTML5 and CSS3Interactive Graphics using Javascript, HTML5 and CSS3
Interactive Graphics using Javascript, HTML5 and CSS3
 
Lecture 2 adv
Lecture 2 advLecture 2 adv
Lecture 2 adv
 
Lecture 1 adv
Lecture 1 advLecture 1 adv
Lecture 1 adv
 
Lecture3
Lecture3Lecture3
Lecture3
 
Lecture2
Lecture2Lecture2
Lecture2
 

Recently uploaded

A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
sonjaschweigert1
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
Neo4j
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
Kari Kakkonen
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
James Anderson
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
DianaGray10
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
ControlCase
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 

Recently uploaded (20)

A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...A tale of scale & speed: How the US Navy is enabling software delivery from l...
A tale of scale & speed: How the US Navy is enabling software delivery from l...
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
GraphSummit Singapore | Enhancing Changi Airport Group's Passenger Experience...
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Climate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing DaysClimate Impact of Software Testing at Nordic Testing Days
Climate Impact of Software Testing at Nordic Testing Days
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
Alt. GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using ...
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1Communications Mining Series - Zero to Hero - Session 1
Communications Mining Series - Zero to Hero - Session 1
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
PCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase TeamPCI PIN Basics Webinar from the Controlcase Team
PCI PIN Basics Webinar from the Controlcase Team
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 

HTML/CSS Lecture 1

  • 1. Introduction to HTML and CSS Lecture 1
  • 2. Who is this guy? Lee Lundrigan Soft ware Engineer Blazing Cloud, Inc. iPhone / iPad Applications in Objective-C Javascript HTML / CSS Wrote a cross browser CSS framework for iPhone, Android, Blackberry, and Windows Mobile. Wrote a book - Pro Smartphone Cross-Platform Development
  • 4. What are we going to talk about in this class? XML HTML foundation CSS foundation Website components
  • 5. What will we not cover in this class? Differences between HTML and XHTML Cross browser compatibility (including the mobile space) HTML 5 and CSS 3 Webpage Layouts
  • 6. Todays Goals Integrated Development Environment (IDE) XML HTML / XHTML Introduction to CSS
  • 7. Integrated Development Environments Oxygen XML Editor http://www.oxygenxml.com/ Aptana http://www.aptana.com/ TextEdit (on Mac) TextPad (on Windows)
  • 8. XML Definition: Extensible Markup Language XML is a simple, very flexible text format derived from SGML W3C sets the XML standards Current version: 1.0
  • 11. XML Cont.... Tag: A markup construct that begins with "<" and ends with ">" Three different kinds of Tags start-tags <tag> end-tags </tag> empty-tags <tag /> Declaration: Optional information about the XML document <?xml version="1.0" encoding="UTF-8"?>
  • 12. XML Cont... Attribute A name/value pair that exists within a start-tag or empty-element tag. <img src=”firefox.png” alt=”Firefox Icon” /> The <img /> tag is an empty element tag with two attributes: src and alt.
  • 13. XML Example <?xml version="1.0" encoding="UTF-8" ?> <ship color=”blue”> <captain>Mr.McGee</captain> <crew> <member>Joe</member> <member>Jane</member> </crew> <anchored value=”true” /> </ship>
  • 14. LAB 1 Lets build a simple XML document together
  • 17. What’s a Markup Language? It
is
a
set
of
symbols
and
 rules
in
a
document
that
 describe
its
structure
and
 format.

  • 18. Who decides these rules? W3C (WORLD WIDE WEB CONSORTIUM) W3C is an international standards body for both HTML and CSS Formed in October 1994 Founded by Tim Berners-Lee Has 356 members as of September 09’
  • 19. HTML Tags are special keywords surrounded by angle bracket like <div> Most HTML tags come in pairs like <div></div> Consisting of an opening and closing tag
  • 20. Basic Tags <a href=”http://www.google.com”>This is a link tag to Google.com</a> <p>This is a paragraph tag</p> <div>This tag represents a division in the page (called a “div”)</div> <img src=”C:Desktopimage.png” alt=”My Image” /> <h1>This is heading 1..the largest heading</h1> <h2>This is heading 2..the second largest heading</h2> Heading tags are defined h1-h6 Heading tags work just like headings in your favorite word processor
  • 21. Basic Tags Continued <br /> is a line break and can be used inside text- nodes. <ul> is an unordered list. It has children known as <li> list items. Next to each list item will be a bullet. <ul> <li>Cat</li> <li>Dog</li> <li>Mouse</li> </ul>
  • 22. .HTM, .HTML or .XHTML? Document extensions .HTM is the same as .HTML .HTM is a remnant from the old days when file extensions were only three letters .XHTML is the same as a .HTML document except an .XHTML document is a well-formed XML document
  • 23. Structure of an HTML Document <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html SYSTEM "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body> </body> </html>
  • 24. Doctype (DTD) Document type declaration Transitional <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> XHTML == Markup MUST be well formed XML Transitional == Contains all HTML elements and attributes, INCLUDING presentational and deprecated elements (like the <font> tag)
  • 25. <html> The <html> tag tells the browser that this is an HTML document. The html element is the outermost element in HTML and XHTML documents. The html element is also known as the root element.
  • 26. <head> hidden from the user can contain: meta information stylesheet references scripts title
  • 27. <body> The content of the document text hyperlinks images tables lists etc...
  • 28. Deprecated what? Basically, try to avoid using things marked as DEPRECATED While they are supported in the current version there is no guarantee future versions will continue support
  • 29. Good Practice HTML elements should be lowercase Why? The W3C recommends it and may require it in the future. All elements should be closed. Close an element by either adding a forward slash to the start element <br /> or add a forward slash to the ending element like <div></ div>
  • 30. Helpful documentation W3schools http://www.w3schools.com/tags/default.asp http://www.w3schools.com/html/default.asp http://en.wikipedia.org/wiki/XML http://en.wikipedia.org/wiki/HTML
  • 31. Homework Make an HTML page using images and paragraphs (include headers and sub headings) Make a link on the page to a new page READ: Well-formed XML: http://www.developer.com/net/vb/article.php/ 797861/Well-Formed-XML.htm

Editor's Notes