SlideShare a Scribd company logo
Communications Lab :: Web Lecture 1: Introduction / HTML
Course Instructor Ruxy Staicut Email : ruxy@nyu.edu Office hours : Wednesdays 7-9 pm in the Adjunct Office Resident Help Sessions : Thursdays 3:30-5 pm, Room 50
Course Information Schedule        Mon 6:30 pm - 9 pm.  Location        Room A / B Course website        http://ruxystaicut.com/itp
A Little Bit About Yourself... Name Background Experience with HTML / CSS / JavaScript / Sinatra?
Today Class introduction, schedule You are here! Where are we on the ITP Technology Map? Web pages: How do they work? HTML elements: Let's build a web page!
Course Goals Learn to lay out and style a web page Make the page responsive to the user Embed a form for taking user input Create a simple server to receive, store, manipulate, and return that input
Schedule Week 1, September 12th: Introduction/HTML  Week 2, September 19th: HTML Forms and CSS Week 3, September 26th: Sinatra Introduction and Routes Week 4, October 3rd: Sinatra and DataMapper Week 5, October 17th: JavaScript Week 6, October 24th: Advanced Sinatra Week 7, October 31st: Show Sites
Assignments There will be  readings  assigned to each lecture. It is  very important  that you read what is assigned. They are additional tutorials that will help you understand the material in more depth. The  assignments are individual .  You need to  hand in the assignment for each class , otherwise it will be registered as a late assignment.
Grading Attendance and Participation: 35% Assignments and presentations: 40% Final Project: 25%
Software Required for Class Komodo Edit Chrome browser Cyberduck
Map: You Are Here 2D Design Programming Language UI / UX TODO: What other things are there on this map for other courses? Picture by courtesy of  Aram Bartholl
Map: You Are Here Client / Server Communication  Data Structures 
Map: You Are Here Markup vs. Programming Language Markup Creates structure Information, not instructions Declarative Tree-like structure More easily manipulated than programming languages Examples: HTML, XML, Wikipedia's Markup Programming Language Communicates instructions to a machine Processes and uses information Sequence of commands, imperative Examples: JavaScript, Sinatra
HTML On the client side, the HTML sits on the webpage. It provides structure and organization for the layout of the page
What Does HTML Look Like? < html >      Oh hai. I'm the content of a web page. < /html >
What Is An HTML Tag? It is an element contained between two angle brackets: < html >. This is also called an  opening  or  start tag . Each tag that is opened, needs to have a  closing tag  or  end tag.  This contains a slash sign like this: < /html > Together, the two create a  block  which may contain content, as in the previous example.      < html >          Oh hai. I'm the content of a web page.      < /html >
Nested Tags - Head and Body <html>      <head>          The head contains the items that prepare the page, mostly things you don't see.      </head>      <body>          This is the main part of the page, visible.      </body> </html>
Adding Title and Paragraphs <html>      <head>          <title>              My web page          </title>      </head>      <body>          <p>Hi, welcome to my new webpage!</p>          <p>Another paragraph!</p>      </body> </html>
Emphasize and Strong < em >I'm italic.< /em > ==>  I'm italic < strong >I'm bold.< /strong > ==>   I'm bold
Headings < h1 >I am the greatest.< /h1 > < h2 >I am number 2, the second greatest.< /h2 > < h3 >I came in third, smaller than 1 and 2< /h3 >      .... < h6 >I am the smallest heading, a heading nonetheless.< /h6 >
Links < a href =&quot; http://itp.nyu.edu &quot;>Visit ITP</ a > This turns into...  Visit ITP
Images < img src =&quot; cute_cat.jpg &quot;  width =&quot;104&quot;  height =&quot;142&quot;  / > Width and Height is in pixels. NOTE: cute_cat.jpg has to be located in the same directory as the html file.
Relative Paths < img src =&quot;images/ cute_cat.jpg &quot;  width =&quot;104&quot;  height =&quot;142&quot;  / > In this case, the &quot;images&quot; directory has to be in the same directory as the html. Example:
Relative Paths < img src =&quot;../images/ very_cute_cat.jpg &quot;  width =&quot;104&quot;  height =&quot;142&quot;  / > Putting  ../  in front of a path means go into parent directory.  Example: 
Lists - Ordered I'm the first in the list. I'm the second in the list. HTML: < ol >      < li >I'm the first in the list.</ li >      < li >I'm the second in the list.</ li >      .... </ ol >
Lists - Unordered I'm an element in the list I'm an element in the list HTML: < ul >      < li >I'm an element in the list</ li >      < li >I'm an element in the list</ li >      ... </ ul >
Nesting <h2> Today's News </h2>  <p>        Citing &quot;massive overvaluation&quot; of the         <a href=&quot;wikipedia.org/wiki/Swiss_franc&quot;> Swiss franc </a> , the         <a href=&quot;wikipedia.org/wiki/Swiss_National_Bank&quot;> Swiss National Bank </a>      <strong>          <a href=&quot;wikipedia.org/wiki/Swiss_franc#2011_appreciation&quot;> introduces </a>      </strong>       a minimum exchange rate with the       <a href=&quot;wikipedia.org/wiki/Euro&quot;> euro </a> .   </p>
Nesting <h2> Today's News </h2>  <p>        Citing &quot;massive overvaluation&quot; of the         <a href=&quot;/wiki/Swiss_franc&quot;> Swiss franc </a> , the         <a href=&quot;/wiki/Swiss_National_Bank&quot;> Swiss National Bank </a>       <strong>          <a href=&quot;/wiki/Swiss_franc#2011_appreciation&quot;> introduces </a>      </strong>       a minimum exchange rate with the       <a href=&quot;/wiki/Euro&quot;> euro </a> .   </p>
Exercise   Download the HTML template at the resources section on  ruxystaicut.com/itp Open the file you downloaded in Komodo Edit  Save it in a new folder
You should see... <!DOCTYPE html> <html>   <head>     <meta charset=utf-8 />     <title> Your Title Goes Here </title>   </head>      <body>      Content goes here     </body> </html>
What does all this mean? Open the HTML file you just saved in Chrome (File > Open File... ) Modify the file in Komodo Edit - for example, change the text! Save it Refresh the browser
Let's fill this page up Tell me a little about yourself. We'll add...  a heading,  a paragraph,  an image a couple of links italic and bold text
Upload your file to FTP FTP stands for File Transfer Protocol.     Open up Cyberduck and connect to your account   Make a new folder for Comm Lab Web and put your new html file there   Upload your image here as well   Go to the url of your page 
To continue... 1.   Modify the page again (add another paragraph, heading, link, image, etc)   2.   Save   3.   Open HTML file in browser: did you see your changes?  4.   Upload your file again to FTP through Cyberduck.
Readings and Tutorials Programs vs. markup or why HTML authoring is not programming:           http://www.cs.tut.fi/~jkorpela/prog.html W3Schools HTML Tutorial:          http://www.w3schools.com/html/ HTML Dog Tutorials - Beginner:           http://htmldog.com/guides/ ** The tutorials are required for your assignment.
Assignment for Next Week   Check your assignment for this week on the schedule at ruxystaicut.com/itp/     The assignment is  due next class .      Print your assignment  to turn it in.    Don't forget to  link on the class wiki  to your files.
Next Time... HTML Forms   Styling HTML with CSS - fonts, colors, backgrounds   CSS box model

More Related Content

DOCX
Lesson plan: HTML Formatting Texts and Paragraphs
PPT
YL Intro html
PPT
How To Create Personal Web Pages On My Web
PDF
Code This, Not That: 10 Do's and Don'ts For Learning HTML
DOCX
Lesson plan htmltextformattingtag
DOC
Lesson plan 3
PPTX
Creating A Forensics Webpage
PPT
HTML Advanced
Lesson plan: HTML Formatting Texts and Paragraphs
YL Intro html
How To Create Personal Web Pages On My Web
Code This, Not That: 10 Do's and Don'ts For Learning HTML
Lesson plan htmltextformattingtag
Lesson plan 3
Creating A Forensics Webpage
HTML Advanced

What's hot (20)

PPT
HTML Intermediate
PDF
Intro to HTML (Kid's Class at TIY)
PPTX
Introduction to basic HTML [Librarian edition]
PPT
PPT
Download Workshop Lecture
PPT
Html basic
PPTX
Introduction to html fundamental concepts
PPT
PDF
Html Tutorial
DOCX
WEB DESIGNING MODULE
PPT
How to use a blog for publishing scientific research: A training guide part 2
PDF
Html - Tutorial
PPT
PL2235 2009 1 HTML
PPTX
Basic Html for beginners.
PPTX
Basic HTML
PPTX
Lecture 2 introduction to html basics
PPT
Html For Beginners 2
PPTX
Social Media Workshop - Word Press
PPT
Html for beginners part I
HTML Intermediate
Intro to HTML (Kid's Class at TIY)
Introduction to basic HTML [Librarian edition]
Download Workshop Lecture
Html basic
Introduction to html fundamental concepts
Html Tutorial
WEB DESIGNING MODULE
How to use a blog for publishing scientific research: A training guide part 2
Html - Tutorial
PL2235 2009 1 HTML
Basic Html for beginners.
Basic HTML
Lecture 2 introduction to html basics
Html For Beginners 2
Social Media Workshop - Word Press
Html for beginners part I
Ad

Viewers also liked (20)

PPT
Lecture 4 - Comm Lab: Web @ ITP
PPT
C2C forum no2 jeremy leggett final
PPT
Russell strutt coast to capital lep 190911
PDF
Artizan Email Marketing
PPT
Board generic presentation
PPT
Juliette green forum presentation enterprise
PPT
Nh forum comms presentation v3
PPT
Lecture 6 - Comm Lab: Web @ ITP
PPT
International Trade CDC presentation
PPT
Lecture 3 - Comm Lab: Web @ ITP
PPT
High growth and Innovation
PPT
Lecture 2 - Comm Lab: Web @ ITP
PPT
Lecture 5 - Comm Lab: Web @ ITP
PPTX
Prosperity and Innovation
DOC
Beyond the Indonesia the beuties of the Asian
PPTX
Web Development School - Baby Steps
PPTX
Social media marketing
PPTX
Hacking and Hacktivism
PPTX
Cross Logic computer courses
DOC
Lecture 4 - Comm Lab: Web @ ITP
C2C forum no2 jeremy leggett final
Russell strutt coast to capital lep 190911
Artizan Email Marketing
Board generic presentation
Juliette green forum presentation enterprise
Nh forum comms presentation v3
Lecture 6 - Comm Lab: Web @ ITP
International Trade CDC presentation
Lecture 3 - Comm Lab: Web @ ITP
High growth and Innovation
Lecture 2 - Comm Lab: Web @ ITP
Lecture 5 - Comm Lab: Web @ ITP
Prosperity and Innovation
Beyond the Indonesia the beuties of the Asian
Web Development School - Baby Steps
Social media marketing
Hacking and Hacktivism
Cross Logic computer courses
Ad

Similar to Lecture 1 - Comm Lab: Web @ ITP (20)

PPTX
Web design 2 - Basic HTML 2010
PPT
Xhtml Part1
KEY
HTML5 - techMaine Presentation 5/18/09
PPT
Xml Zoe
PPT
Xml Zoe
PDF
Introducing YUI
PPT
Web designing using html
PPTX
Creating a Webpage
PPT
Web design
PPT
Building A Website
PPT
introduction to web technology
PPT
Block2 Session2 Presentation
PPT
Module 2 Lesson 1
PPT
Introduction to Web Design
PPT
ARTDM 171 Week 4: Tags
PPT
HTML Fundamentals
PPTX
Using HTML5 and CSS3 today
PPT
HTML & CSS Workshop Notes
Web design 2 - Basic HTML 2010
Xhtml Part1
HTML5 - techMaine Presentation 5/18/09
Xml Zoe
Xml Zoe
Introducing YUI
Web designing using html
Creating a Webpage
Web design
Building A Website
introduction to web technology
Block2 Session2 Presentation
Module 2 Lesson 1
Introduction to Web Design
ARTDM 171 Week 4: Tags
HTML Fundamentals
Using HTML5 and CSS3 today
HTML & CSS Workshop Notes

Recently uploaded (20)

PDF
Electronic commerce courselecture one. Pdf
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
KodekX | Application Modernization Development
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Approach and Philosophy of On baking technology
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PPTX
Big Data Technologies - Introduction.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPT
Teaching material agriculture food technology
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PDF
Network Security Unit 5.pdf for BCA BBA.
Electronic commerce courselecture one. Pdf
The AUB Centre for AI in Media Proposal.docx
KodekX | Application Modernization Development
Encapsulation_ Review paper, used for researhc scholars
Per capita expenditure prediction using model stacking based on satellite ima...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Programs and apps: productivity, graphics, security and other tools
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Approach and Philosophy of On baking technology
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Big Data Technologies - Introduction.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Spectral efficient network and resource selection model in 5G networks
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Teaching material agriculture food technology
NewMind AI Weekly Chronicles - August'25 Week I
Digital-Transformation-Roadmap-for-Companies.pptx
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Network Security Unit 5.pdf for BCA BBA.

Lecture 1 - Comm Lab: Web @ ITP

  • 1. Communications Lab :: Web Lecture 1: Introduction / HTML
  • 2. Course Instructor Ruxy Staicut Email : ruxy@nyu.edu Office hours : Wednesdays 7-9 pm in the Adjunct Office Resident Help Sessions : Thursdays 3:30-5 pm, Room 50
  • 3. Course Information Schedule       Mon 6:30 pm - 9 pm.  Location       Room A / B Course website       http://ruxystaicut.com/itp
  • 4. A Little Bit About Yourself... Name Background Experience with HTML / CSS / JavaScript / Sinatra?
  • 5. Today Class introduction, schedule You are here! Where are we on the ITP Technology Map? Web pages: How do they work? HTML elements: Let's build a web page!
  • 6. Course Goals Learn to lay out and style a web page Make the page responsive to the user Embed a form for taking user input Create a simple server to receive, store, manipulate, and return that input
  • 7. Schedule Week 1, September 12th: Introduction/HTML  Week 2, September 19th: HTML Forms and CSS Week 3, September 26th: Sinatra Introduction and Routes Week 4, October 3rd: Sinatra and DataMapper Week 5, October 17th: JavaScript Week 6, October 24th: Advanced Sinatra Week 7, October 31st: Show Sites
  • 8. Assignments There will be readings assigned to each lecture. It is very important that you read what is assigned. They are additional tutorials that will help you understand the material in more depth. The assignments are individual .  You need to hand in the assignment for each class , otherwise it will be registered as a late assignment.
  • 9. Grading Attendance and Participation: 35% Assignments and presentations: 40% Final Project: 25%
  • 10. Software Required for Class Komodo Edit Chrome browser Cyberduck
  • 11. Map: You Are Here 2D Design Programming Language UI / UX TODO: What other things are there on this map for other courses? Picture by courtesy of  Aram Bartholl
  • 12. Map: You Are Here Client / Server Communication  Data Structures 
  • 13. Map: You Are Here Markup vs. Programming Language Markup Creates structure Information, not instructions Declarative Tree-like structure More easily manipulated than programming languages Examples: HTML, XML, Wikipedia's Markup Programming Language Communicates instructions to a machine Processes and uses information Sequence of commands, imperative Examples: JavaScript, Sinatra
  • 14. HTML On the client side, the HTML sits on the webpage. It provides structure and organization for the layout of the page
  • 15. What Does HTML Look Like? < html >     Oh hai. I'm the content of a web page. < /html >
  • 16. What Is An HTML Tag? It is an element contained between two angle brackets: < html >. This is also called an  opening or  start tag . Each tag that is opened, needs to have a closing tag or end tag. This contains a slash sign like this: < /html > Together, the two create a block which may contain content, as in the previous example.      < html >          Oh hai. I'm the content of a web page.      < /html >
  • 17. Nested Tags - Head and Body <html>     <head>         The head contains the items that prepare the page, mostly things you don't see.     </head>     <body>         This is the main part of the page, visible.     </body> </html>
  • 18. Adding Title and Paragraphs <html>     <head>         <title>             My web page         </title>     </head>     <body>         <p>Hi, welcome to my new webpage!</p>         <p>Another paragraph!</p>     </body> </html>
  • 19. Emphasize and Strong < em >I'm italic.< /em > ==> I'm italic < strong >I'm bold.< /strong > ==> I'm bold
  • 20. Headings < h1 >I am the greatest.< /h1 > < h2 >I am number 2, the second greatest.< /h2 > < h3 >I came in third, smaller than 1 and 2< /h3 >      .... < h6 >I am the smallest heading, a heading nonetheless.< /h6 >
  • 21. Links < a href =&quot; http://itp.nyu.edu &quot;>Visit ITP</ a > This turns into... Visit ITP
  • 22. Images < img src =&quot; cute_cat.jpg &quot; width =&quot;104&quot; height =&quot;142&quot; / > Width and Height is in pixels. NOTE: cute_cat.jpg has to be located in the same directory as the html file.
  • 23. Relative Paths < img src =&quot;images/ cute_cat.jpg &quot;  width =&quot;104&quot;  height =&quot;142&quot;  / > In this case, the &quot;images&quot; directory has to be in the same directory as the html. Example:
  • 24. Relative Paths < img src =&quot;../images/ very_cute_cat.jpg &quot;  width =&quot;104&quot;  height =&quot;142&quot;  / > Putting  ../  in front of a path means go into parent directory.  Example: 
  • 25. Lists - Ordered I'm the first in the list. I'm the second in the list. HTML: < ol >     < li >I'm the first in the list.</ li >     < li >I'm the second in the list.</ li >     .... </ ol >
  • 26. Lists - Unordered I'm an element in the list I'm an element in the list HTML: < ul >     < li >I'm an element in the list</ li >     < li >I'm an element in the list</ li >     ... </ ul >
  • 27. Nesting <h2> Today's News </h2>  <p>        Citing &quot;massive overvaluation&quot; of the         <a href=&quot;wikipedia.org/wiki/Swiss_franc&quot;> Swiss franc </a> , the         <a href=&quot;wikipedia.org/wiki/Swiss_National_Bank&quot;> Swiss National Bank </a>     <strong>          <a href=&quot;wikipedia.org/wiki/Swiss_franc#2011_appreciation&quot;> introduces </a>     </strong>       a minimum exchange rate with the       <a href=&quot;wikipedia.org/wiki/Euro&quot;> euro </a> .   </p>
  • 28. Nesting <h2> Today's News </h2> <p>        Citing &quot;massive overvaluation&quot; of the        <a href=&quot;/wiki/Swiss_franc&quot;> Swiss franc </a> , the        <a href=&quot;/wiki/Swiss_National_Bank&quot;> Swiss National Bank </a>       <strong>          <a href=&quot;/wiki/Swiss_franc#2011_appreciation&quot;> introduces </a>     </strong>       a minimum exchange rate with the      <a href=&quot;/wiki/Euro&quot;> euro </a> .   </p>
  • 29. Exercise   Download the HTML template at the resources section on ruxystaicut.com/itp Open the file you downloaded in Komodo Edit  Save it in a new folder
  • 30. You should see... <!DOCTYPE html> <html>   <head>     <meta charset=utf-8 />     <title> Your Title Goes Here </title>   </head>     <body>     Content goes here    </body> </html>
  • 31. What does all this mean? Open the HTML file you just saved in Chrome (File > Open File... ) Modify the file in Komodo Edit - for example, change the text! Save it Refresh the browser
  • 32. Let's fill this page up Tell me a little about yourself. We'll add...  a heading,  a paragraph,  an image a couple of links italic and bold text
  • 33. Upload your file to FTP FTP stands for File Transfer Protocol.     Open up Cyberduck and connect to your account   Make a new folder for Comm Lab Web and put your new html file there   Upload your image here as well   Go to the url of your page 
  • 34. To continue... 1.   Modify the page again (add another paragraph, heading, link, image, etc)   2.   Save   3.   Open HTML file in browser: did you see your changes? 4.   Upload your file again to FTP through Cyberduck.
  • 35. Readings and Tutorials Programs vs. markup or why HTML authoring is not programming:           http://www.cs.tut.fi/~jkorpela/prog.html W3Schools HTML Tutorial:          http://www.w3schools.com/html/ HTML Dog Tutorials - Beginner:           http://htmldog.com/guides/ ** The tutorials are required for your assignment.
  • 36. Assignment for Next Week   Check your assignment for this week on the schedule at ruxystaicut.com/itp/     The assignment is due next class .      Print your assignment to turn it in.    Don't forget to link on the class wiki to your files.
  • 37. Next Time... HTML Forms   Styling HTML with CSS - fonts, colors, backgrounds   CSS box model