SlideShare a Scribd company logo
HTML AND NAVIGATION WORKSHOP
Tutor: Lee Scott
Week 1
Building blocks of the web: servers, clients, browsers
HTML: setting up a webpage, creating headers, text, and divs
CSS: styling text and positioning elements
Week 2
Navigation: using hyperlinks
HTML: working with Image, video, and audio elements
Troubleshooting: using browsers based web inspectors
Week 3
Interactivity: HTML5 methods and an introduction to JavaScript
Advanced text: adding font files, opacity, motion
Week 4
Present ideas to group. Feedback
Begin creating your website
Week 5
Continue working on your website
INDEPENDENT LEARNING
Web based resources
w3 schools http://www.w2schools.com
Html5rocks http://www.html5rocks.com
Dive into HTML http://diveintohtml5.info
Forums
Coding Forums http://www.codingforums.com
Github https://github.com
HTML tutorials online
YouTube search HTML tutorials in YouTube
Tizag http://www.tizag.com/htmlT
ASSIGNMENT
Build a small website
The website must take the form of an interactive story
Jack and the Beanstalk
Three Little Pigs
Mr Fox
The Cat and Mouse
Use as much or as little of the text as you like
Demonstrate an interactive approach to the text using
hyperlinks, and user input events (mouse, keyboard etc)
Include a 300 word description of your approach to navigation
and the structure of your site.
Include a list of hyperlinks to a selection of web resources
(examples of work or theory) that have informed your approach.
Annotate.
WEB SERVERS, CLIENTS AND BROWSERS
Web serverClient
Browser renders HTML
WEBSITE ANATOMY
HTML
HyperTextMarkup Language
Defines webpage structure
Contains content (text, images, sounds)
HTML building blocks are called elements
CSS
Cascading StyleSheet
Used to style HTML elements (e.g. text colour, font, size)
HTML file links to a CSS file
JavaScript
Facilitates user interactivity
Alter content after it has been displayed
Libraries: jQuery
Other Languages
PHP (server side)
MYSQL
BEGINNING TO WORK WITH HTML
HTML editor
Coda, Dreamweaver, TextEdit, BlueFish, CoffeeCup, Aracnophilia
We are using TextWrangler
Web server
We need access to some web space
Our websites will be ‘hosted’ on a bathspa server
FTP
File Transfer Protocol
A way to transfer files from one ‘host’ (computer) to another
Allows us to ‘upload’ content to our web server
BEGINNING TO WORK WITH HTML
FTP login details
Server: ftp.artbathspa.com
Username: graphics2013
Password: weareyear2
HTML ELEMENTS AND TAGS
ELEMENTS
Individual component of a webpage
e.g. image, video, text paragraphs, sound, headers, tables
TAGS
HTML markup that represents or describes an elements
<img>, <video>, <p>, <audio>, <h1>, <table>
Tags must be opened and closed
<p> Hello World </p>
<img+ attributes…. ></img>
WEBPAGE ESSENTIALS
A series of tags to set up a web page
Save as a template!
<!DOCTYPE html>
<html>
These two tags tell the browser that the file is a HTML document
<head>
Contains a collection of metadata for the document. Metadata is
data about data.
This includes page titles, and links to CSS and JavaScript documents
<meta charset=“UTF-8”>
Character set that should be used to render the web page
<title>
Gives the webpage a title. Title shown in browser toolbar and in
web searches
<body>
Content of the webpage itself
BODY TAGS<header>
Headings
<nav>
Navigational sections. Links to pages on the website
<section>
Thematically grouped content
<article>
An article e.g. blog post or comment section
<aside>
Content placed aside. Should be related to surrounding
content (section/article)
<footer>
Usually placed at the end of a document e.g. contact
information
<div>
A general container for content
<p>
Paragraph. Almost always used for text
A VERY stereotypical webpage
CSS (Cascading StyleSheets)
Link to HTML file
Styling Text
<link rel="stylesheet" type="text/css" href=”style.css">
p{
font-family: “Times New Roman”, “Arial”
font-size:20px;
font-weight: lighter or normal or bold or bolder
font-style:italic;
color:rgba(0,0,0,255);
}
h1 {
font-family: “Times New Roman”;
font-size:40px;
font-weight: bold;
font-style:normal;
color:rgba(0,0,0,255);
}
CSS (Cascading StyleSheets)
Styling Structural Elements
Div, section, article, aside, nav
body {
background-color:rgba(255,0,0,0) ;
}
Contain CSS instructions in braces
End each instruction with a semicolon
‘color’ american spelling
rgba: red (0-255), green (0-255), blue (0-255), alpha (0-1)
#my_div {
border-style:solid;
border-width:5px;
}
‘#’ refer to specific div in HTML document
Border styles: dotted, solid, double, dashed
POSITIONING
Size
body {
height:1200px;
Width:800px;
} Position
#my_div {
position:absolute;
top:200px;
left: 200px;
}
options: absolute, fixed, relative, static
Just use ‘absolute’ for now.Text-align
#my_div {
text-align: left;
}
options: left, right, center
POSITIONING
Margins
margin-top:50px;
margin-bottom:40px;
margin-right:30px;
margin-left:20px
margin:50px 40px 30px 20px
Padding
padding-top:10px;
padding-bottom:10px;
padding-right:50px;
padding-left:50px
padding:10px 10px 50px 50px
POSITIONING
Centre <body>
body {
width: 1200px;
height: 600px;
position: fixed;
top: 50%;
left: 50%;
margin-top: -300px;
margin-left: -600px;
border-style:solid;
border-width:1px;
}
Top and Left are set at 50%.
The top left point of <body> will be placed at the midpoint of the
browser

More Related Content

What's hot

Week 6 Lecture
Week 6 LectureWeek 6 Lecture
Web design basics 1
Web design basics 1Web design basics 1
Web design basics 1
Trivuz ত্রিভুজ
 
EECI2009 - From Design to Dynamic - Rapid ExpressionEngine Development
EECI2009 - From Design to Dynamic - Rapid ExpressionEngine DevelopmentEECI2009 - From Design to Dynamic - Rapid ExpressionEngine Development
EECI2009 - From Design to Dynamic - Rapid ExpressionEngine Development
FortySeven Media
 
Week2 lecture-whatiswebdesign-part1
Week2 lecture-whatiswebdesign-part1Week2 lecture-whatiswebdesign-part1
Week2 lecture-whatiswebdesign-part1
Katherine McCurdy-Lapierre, R.G.D.
 
Artistic Web Applications - Week3 - Part 3
Artistic Web Applications - Week3 - Part 3Artistic Web Applications - Week3 - Part 3
Artistic Web Applications - Week3 - Part 3
Katherine McCurdy-Lapierre, R.G.D.
 
Artistic Web Applications - Week3 - Part 1
Artistic Web Applications - Week3 - Part 1Artistic Web Applications - Week3 - Part 1
Artistic Web Applications - Week3 - Part 1
Katherine McCurdy-Lapierre, R.G.D.
 
Images, lists and links
Images, lists and linksImages, lists and links
Images, lists and links
Jhaun Paul Enriquez
 
Meetup child-themes
Meetup child-themesMeetup child-themes
Meetup child-themesDaisyOlsen
 
WCLV - Introduction to child themes
WCLV - Introduction to child themesWCLV - Introduction to child themes
WCLV - Introduction to child themesvegasgeek
 
Thinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSSThinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSS
TJ Stalcup
 
Choosing Themes
Choosing ThemesChoosing Themes
Choosing Themes
DaisyOlsen
 
Meetup child-themes
Meetup child-themesMeetup child-themes
Meetup child-themes
DaisyOlsen
 
Understanding the Web Page Layout
Understanding the Web Page LayoutUnderstanding the Web Page Layout
Understanding the Web Page Layout
Jhaun Paul Enriquez
 
Steph's Html5 and css presentation
Steph's Html5 and css presentationSteph's Html5 and css presentation
Steph's Html5 and css presentation
stephy123123
 
Lesson 2: Getting To Know HTML
Lesson 2: Getting To Know HTMLLesson 2: Getting To Know HTML
Lesson 2: Getting To Know HTML
Olivia Moran
 
Html 5
Html 5Html 5
The web context
The web contextThe web context
The web context
Dan Phiffer
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and Development
Shagor Ahmed
 
Html n CSS
Html n CSSHtml n CSS
Html n CSS
Sukrit Gupta
 

What's hot (20)

HTML5 & CSS3
HTML5 & CSS3 HTML5 & CSS3
HTML5 & CSS3
 
Week 6 Lecture
Week 6 LectureWeek 6 Lecture
Week 6 Lecture
 
Web design basics 1
Web design basics 1Web design basics 1
Web design basics 1
 
EECI2009 - From Design to Dynamic - Rapid ExpressionEngine Development
EECI2009 - From Design to Dynamic - Rapid ExpressionEngine DevelopmentEECI2009 - From Design to Dynamic - Rapid ExpressionEngine Development
EECI2009 - From Design to Dynamic - Rapid ExpressionEngine Development
 
Week2 lecture-whatiswebdesign-part1
Week2 lecture-whatiswebdesign-part1Week2 lecture-whatiswebdesign-part1
Week2 lecture-whatiswebdesign-part1
 
Artistic Web Applications - Week3 - Part 3
Artistic Web Applications - Week3 - Part 3Artistic Web Applications - Week3 - Part 3
Artistic Web Applications - Week3 - Part 3
 
Artistic Web Applications - Week3 - Part 1
Artistic Web Applications - Week3 - Part 1Artistic Web Applications - Week3 - Part 1
Artistic Web Applications - Week3 - Part 1
 
Images, lists and links
Images, lists and linksImages, lists and links
Images, lists and links
 
Meetup child-themes
Meetup child-themesMeetup child-themes
Meetup child-themes
 
WCLV - Introduction to child themes
WCLV - Introduction to child themesWCLV - Introduction to child themes
WCLV - Introduction to child themes
 
Thinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSSThinkful - Frontend Crash Course - Intro to HTML/CSS
Thinkful - Frontend Crash Course - Intro to HTML/CSS
 
Choosing Themes
Choosing ThemesChoosing Themes
Choosing Themes
 
Meetup child-themes
Meetup child-themesMeetup child-themes
Meetup child-themes
 
Understanding the Web Page Layout
Understanding the Web Page LayoutUnderstanding the Web Page Layout
Understanding the Web Page Layout
 
Steph's Html5 and css presentation
Steph's Html5 and css presentationSteph's Html5 and css presentation
Steph's Html5 and css presentation
 
Lesson 2: Getting To Know HTML
Lesson 2: Getting To Know HTMLLesson 2: Getting To Know HTML
Lesson 2: Getting To Know HTML
 
Html 5
Html 5Html 5
Html 5
 
The web context
The web contextThe web context
The web context
 
Web design and Development
Web design and DevelopmentWeb design and Development
Web design and Development
 
Html n CSS
Html n CSSHtml n CSS
Html n CSS
 

Viewers also liked

Ifpri in-mozambique overview
Ifpri in-mozambique overviewIfpri in-mozambique overview
Ifpri in-mozambique overviewIFPRI-Maputo
 
LEVICK Weekly - Jan 4 2013
LEVICK Weekly - Jan 4 2013LEVICK Weekly - Jan 4 2013
LEVICK Weekly - Jan 4 2013
LEVICK
 
Conferencia de Clausura: Linda H. Aiken
Conferencia de Clausura: Linda H. AikenConferencia de Clausura: Linda H. Aiken
Conferencia de Clausura: Linda H. Aiken
investenisciii
 
2013 qld pga championship sponsorship invitation
2013 qld pga championship   sponsorship invitation2013 qld pga championship   sponsorship invitation
2013 qld pga championship sponsorship invitation
Andrew Allpass
 
Film studio research
Film studio researchFilm studio research
Film studio research
smdoyle
 
Il congiuntivo imperfetto e trapassato
Il congiuntivo imperfetto e trapassatoIl congiuntivo imperfetto e trapassato
Il congiuntivo imperfetto e trapassato
Danilo Buccarello
 
Christian studies cloth
Christian studies clothChristian studies cloth
Christian studies cloth
Dana Thompson
 
Маркетинговый план LR
Маркетинговый план LRМаркетинговый план LR
Маркетинговый план LR
t575ae
 
Republican versus democratic power point
Republican versus democratic power pointRepublican versus democratic power point
Republican versus democratic power pointSaundra Kelley
 
Si spersonalizzante
Si spersonalizzanteSi spersonalizzante
Si spersonalizzante
Danilo Buccarello
 
Pages 147 to 158
Pages 147 to 158Pages 147 to 158
Pages 147 to 158catapaca
 
Маркетинговый план LR
Маркетинговый план LRМаркетинговый план LR
Маркетинговый план LR
t575ae
 
HPCC Systems JDBC Driver
HPCC Systems JDBC DriverHPCC Systems JDBC Driver
HPCC Systems JDBC Driver
HPCC Systems
 
Proyecto de vida
Proyecto de vidaProyecto de vida
Proyecto de vida
Andres Castiblanco
 
El costo real de los ataques ¿Cómo te impacta en ROI?
El costo real de los ataques ¿Cómo te impacta en ROI?El costo real de los ataques ¿Cómo te impacta en ROI?
El costo real de los ataques ¿Cómo te impacta en ROI?
Grupo Smartekh
 
20130313 het abc van sociale media ename
20130313 het abc van sociale media ename20130313 het abc van sociale media ename
20130313 het abc van sociale media enamekwb_eensgezind
 

Viewers also liked (18)

Ifpri in-mozambique overview
Ifpri in-mozambique overviewIfpri in-mozambique overview
Ifpri in-mozambique overview
 
LEVICK Weekly - Jan 4 2013
LEVICK Weekly - Jan 4 2013LEVICK Weekly - Jan 4 2013
LEVICK Weekly - Jan 4 2013
 
Liv Delano
Liv Delano Liv Delano
Liv Delano
 
Conferencia de Clausura: Linda H. Aiken
Conferencia de Clausura: Linda H. AikenConferencia de Clausura: Linda H. Aiken
Conferencia de Clausura: Linda H. Aiken
 
2013 qld pga championship sponsorship invitation
2013 qld pga championship   sponsorship invitation2013 qld pga championship   sponsorship invitation
2013 qld pga championship sponsorship invitation
 
Film studio research
Film studio researchFilm studio research
Film studio research
 
Il congiuntivo imperfetto e trapassato
Il congiuntivo imperfetto e trapassatoIl congiuntivo imperfetto e trapassato
Il congiuntivo imperfetto e trapassato
 
Christian studies cloth
Christian studies clothChristian studies cloth
Christian studies cloth
 
Маркетинговый план LR
Маркетинговый план LRМаркетинговый план LR
Маркетинговый план LR
 
Republican versus democratic power point
Republican versus democratic power pointRepublican versus democratic power point
Republican versus democratic power point
 
Si spersonalizzante
Si spersonalizzanteSi spersonalizzante
Si spersonalizzante
 
Pages 147 to 158
Pages 147 to 158Pages 147 to 158
Pages 147 to 158
 
Маркетинговый план LR
Маркетинговый план LRМаркетинговый план LR
Маркетинговый план LR
 
HPCC Systems JDBC Driver
HPCC Systems JDBC DriverHPCC Systems JDBC Driver
HPCC Systems JDBC Driver
 
Proyecto de vida
Proyecto de vidaProyecto de vida
Proyecto de vida
 
Training program
Training programTraining program
Training program
 
El costo real de los ataques ¿Cómo te impacta en ROI?
El costo real de los ataques ¿Cómo te impacta en ROI?El costo real de los ataques ¿Cómo te impacta en ROI?
El costo real de los ataques ¿Cómo te impacta en ROI?
 
20130313 het abc van sociale media ename
20130313 het abc van sociale media ename20130313 het abc van sociale media ename
20130313 het abc van sociale media ename
 

Similar to Html workshop 1

Intro to HTML & CSS
Intro to HTML & CSSIntro to HTML & CSS
Intro to HTML & CSS
Syed Sami
 
Websites Unlimited - Pay Monthly Websites
Websites Unlimited - Pay Monthly WebsitesWebsites Unlimited - Pay Monthly Websites
Websites Unlimited - Pay Monthly Websites
websiteunlimited
 
GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1Heather Rock
 
Html
HtmlHtml
WELCOME-FOLKS--CSS.-AND-HTMLS.pptx
WELCOME-FOLKS--CSS.-AND-HTMLS.pptxWELCOME-FOLKS--CSS.-AND-HTMLS.pptx
WELCOME-FOLKS--CSS.-AND-HTMLS.pptx
HeroVins
 
Teched Inetrgation ppt and lering in simple
Teched Inetrgation ppt  and lering in simpleTeched Inetrgation ppt  and lering in simple
Teched Inetrgation ppt and lering in simple
JagadishBabuParri
 
Html power point
Html power pointHtml power point
Html power pointmarkbg
 
Wordpress: A Tool for online Earning
Wordpress: A Tool for online EarningWordpress: A Tool for online Earning
Wordpress: A Tool for online Earning
marpasha
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
yht4ever
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTMLyht4ever
 
Web Page Authoring 1
Web Page Authoring 1Web Page Authoring 1
Web Page Authoring 1yht4ever
 
Web 101
Web 101Web 101
Web 101
Mike Feltman
 
Html5 css3
Html5 css3Html5 css3
Html5 css3
Altaf Pinjari
 

Similar to Html workshop 1 (20)

Intro to HTML & CSS
Intro to HTML & CSSIntro to HTML & CSS
Intro to HTML & CSS
 
Introduction css
Introduction cssIntroduction css
Introduction css
 
Introduction css
Introduction cssIntroduction css
Introduction css
 
Websites Unlimited - Pay Monthly Websites
Websites Unlimited - Pay Monthly WebsitesWebsites Unlimited - Pay Monthly Websites
Websites Unlimited - Pay Monthly Websites
 
GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1GDI Seattle Intermediate HTML and CSS Class 1
GDI Seattle Intermediate HTML and CSS Class 1
 
Html
HtmlHtml
Html
 
WELCOME-FOLKS--CSS.-AND-HTMLS.pptx
WELCOME-FOLKS--CSS.-AND-HTMLS.pptxWELCOME-FOLKS--CSS.-AND-HTMLS.pptx
WELCOME-FOLKS--CSS.-AND-HTMLS.pptx
 
Teched Inetrgation ppt and lering in simple
Teched Inetrgation ppt  and lering in simpleTeched Inetrgation ppt  and lering in simple
Teched Inetrgation ppt and lering in simple
 
Html power point
Html power pointHtml power point
Html power point
 
Wordpress: A Tool for online Earning
Wordpress: A Tool for online EarningWordpress: A Tool for online Earning
Wordpress: A Tool for online Earning
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Introduction to HTML
Introduction to HTMLIntroduction to HTML
Introduction to HTML
 
Web Page Authoring 1
Web Page Authoring 1Web Page Authoring 1
Web Page Authoring 1
 
Web 101
Web 101Web 101
Web 101
 
Html5 css3
Html5 css3Html5 css3
Html5 css3
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Wa html5-pdf
Wa html5-pdfWa html5-pdf
Wa html5-pdf
 
Web development basics
Web development basicsWeb development basics
Web development basics
 

Recently uploaded

From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
RTTS
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
CatarinaPereira64715
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
Ralf Eggert
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
Product School
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
Abida Shariff
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 

Recently uploaded (20)

From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
ODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User GroupODC, Data Fabric and Architecture User Group
ODC, Data Fabric and Architecture User Group
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)PHP Frameworks: I want to break free (IPC Berlin 2024)
PHP Frameworks: I want to break free (IPC Berlin 2024)
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
AI for Every Business: Unlocking Your Product's Universal Potential by VP of ...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 

Html workshop 1

  • 1. HTML AND NAVIGATION WORKSHOP Tutor: Lee Scott Week 1 Building blocks of the web: servers, clients, browsers HTML: setting up a webpage, creating headers, text, and divs CSS: styling text and positioning elements Week 2 Navigation: using hyperlinks HTML: working with Image, video, and audio elements Troubleshooting: using browsers based web inspectors Week 3 Interactivity: HTML5 methods and an introduction to JavaScript Advanced text: adding font files, opacity, motion Week 4 Present ideas to group. Feedback Begin creating your website Week 5 Continue working on your website
  • 2. INDEPENDENT LEARNING Web based resources w3 schools http://www.w2schools.com Html5rocks http://www.html5rocks.com Dive into HTML http://diveintohtml5.info Forums Coding Forums http://www.codingforums.com Github https://github.com HTML tutorials online YouTube search HTML tutorials in YouTube Tizag http://www.tizag.com/htmlT
  • 3. ASSIGNMENT Build a small website The website must take the form of an interactive story Jack and the Beanstalk Three Little Pigs Mr Fox The Cat and Mouse Use as much or as little of the text as you like Demonstrate an interactive approach to the text using hyperlinks, and user input events (mouse, keyboard etc) Include a 300 word description of your approach to navigation and the structure of your site. Include a list of hyperlinks to a selection of web resources (examples of work or theory) that have informed your approach. Annotate.
  • 4. WEB SERVERS, CLIENTS AND BROWSERS Web serverClient Browser renders HTML
  • 5. WEBSITE ANATOMY HTML HyperTextMarkup Language Defines webpage structure Contains content (text, images, sounds) HTML building blocks are called elements CSS Cascading StyleSheet Used to style HTML elements (e.g. text colour, font, size) HTML file links to a CSS file JavaScript Facilitates user interactivity Alter content after it has been displayed Libraries: jQuery Other Languages PHP (server side) MYSQL
  • 6. BEGINNING TO WORK WITH HTML HTML editor Coda, Dreamweaver, TextEdit, BlueFish, CoffeeCup, Aracnophilia We are using TextWrangler Web server We need access to some web space Our websites will be ‘hosted’ on a bathspa server FTP File Transfer Protocol A way to transfer files from one ‘host’ (computer) to another Allows us to ‘upload’ content to our web server
  • 7. BEGINNING TO WORK WITH HTML FTP login details Server: ftp.artbathspa.com Username: graphics2013 Password: weareyear2
  • 8. HTML ELEMENTS AND TAGS ELEMENTS Individual component of a webpage e.g. image, video, text paragraphs, sound, headers, tables TAGS HTML markup that represents or describes an elements <img>, <video>, <p>, <audio>, <h1>, <table> Tags must be opened and closed <p> Hello World </p> <img+ attributes…. ></img>
  • 9. WEBPAGE ESSENTIALS A series of tags to set up a web page Save as a template! <!DOCTYPE html> <html> These two tags tell the browser that the file is a HTML document <head> Contains a collection of metadata for the document. Metadata is data about data. This includes page titles, and links to CSS and JavaScript documents <meta charset=“UTF-8”> Character set that should be used to render the web page <title> Gives the webpage a title. Title shown in browser toolbar and in web searches <body> Content of the webpage itself
  • 10. BODY TAGS<header> Headings <nav> Navigational sections. Links to pages on the website <section> Thematically grouped content <article> An article e.g. blog post or comment section <aside> Content placed aside. Should be related to surrounding content (section/article) <footer> Usually placed at the end of a document e.g. contact information <div> A general container for content <p> Paragraph. Almost always used for text A VERY stereotypical webpage
  • 11. CSS (Cascading StyleSheets) Link to HTML file Styling Text <link rel="stylesheet" type="text/css" href=”style.css"> p{ font-family: “Times New Roman”, “Arial” font-size:20px; font-weight: lighter or normal or bold or bolder font-style:italic; color:rgba(0,0,0,255); } h1 { font-family: “Times New Roman”; font-size:40px; font-weight: bold; font-style:normal; color:rgba(0,0,0,255); }
  • 12. CSS (Cascading StyleSheets) Styling Structural Elements Div, section, article, aside, nav body { background-color:rgba(255,0,0,0) ; } Contain CSS instructions in braces End each instruction with a semicolon ‘color’ american spelling rgba: red (0-255), green (0-255), blue (0-255), alpha (0-1) #my_div { border-style:solid; border-width:5px; } ‘#’ refer to specific div in HTML document Border styles: dotted, solid, double, dashed
  • 13. POSITIONING Size body { height:1200px; Width:800px; } Position #my_div { position:absolute; top:200px; left: 200px; } options: absolute, fixed, relative, static Just use ‘absolute’ for now.Text-align #my_div { text-align: left; } options: left, right, center
  • 14. POSITIONING Margins margin-top:50px; margin-bottom:40px; margin-right:30px; margin-left:20px margin:50px 40px 30px 20px Padding padding-top:10px; padding-bottom:10px; padding-right:50px; padding-left:50px padding:10px 10px 50px 50px
  • 15. POSITIONING Centre <body> body { width: 1200px; height: 600px; position: fixed; top: 50%; left: 50%; margin-top: -300px; margin-left: -600px; border-style:solid; border-width:1px; } Top and Left are set at 50%. The top left point of <body> will be placed at the midpoint of the browser

Editor's Notes

  1. Can use sound but be aware that the module is about interactive text, so its important to demonstrate an interactive approach to text.
  2. Javascript: So we could write some javascript that changes the colour of some text when it is clicked on Libraries: Prewritten javascript that simplifies the scripting process. Instead of writing long passages of javascript to say, spin some text, you can find a library that reduces this down to about one line. A very good one is jQuery. We will be using that when we look at interactivity using javascript. Jquery: javascript library that simplifies the scripting process. A good introduction to javascript. We will be using this.Other: we won’t be using them but its useful to know there are lots of other toolsPHP server side scripting language – communicating with servers (looking up data in a database)MYSQL – database management