Web Foundations THURSDAY, SEPTEMBER 26, 2013 LECTURE 2: WORKING WITH HTML FILES, HTML BASICS, LINKING.

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

WeB application development
XHTML Basics.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 1.
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
HTML & XHTML Web Publishing. What is HTML? HTML- Hypertext Markup Language ▫Start with text on your page & add special tags ▫These specific tags produce.
Beginning Web Site Creation: Dreamweaver CS4 Noreen Brown XHTML CODING -- TAGS.
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
Tags through Forms. This element is required for all HTML pages It must be at the top of every page of every website We’ll see later on why it is important.
Tutorial 1: Getting Started with HTML5
Getting Started with Dreamweaver
 Using Microsoft Expression Web you can: › Create Web pages and Web sites › Set what you site will look like as you design it › Add text, images, multimedia.
Thursday, July 9 Instructor: Craig Duckett Crash Course in HTML.
Unit 1 – Developing a Web Page. Objectives:  Learn the history of the Web and HTML  Describe HTML standards and specifications  Understand HTML elements.
Web Design Using HTML Codes. WHAT DO I NEED TO BEGIN DESIGNING A HOME PAGE? 1.YOU NEED A FOLDER (also called a DIRECTORY) You should set up a folder or.
CPSC 203 Introduction to Computers Lab 21, 22 By Jie Gao.
Links in HTML. Hyperlinks or links Millions of linked web pages make up the World Wide Web Used to connect a web page to another web page on the same.
Basic HTML Hyper text markup Language. Re-cap  … - The tag tells the browser that this is an HTML document The html element is the outermost element.
Tutorial #2 Creating Links. Tutorial #1 Review Basic Page (DOCTYPE, HTML, Head, Title, Body) Tags Structure( ),,,,,, Nested Tags content Tag Attributes.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
HTML Structure & syntax
Essential Tags Web Design – Sec 3-3 Part or all of this lesson was adapted from the University of Washington’s “Web Design & Development I” Course materials.
1 Essential HTML coding By Fadi Safieddine (Week 2)
1 Session 1: Introduction to HTML Spring Today’s Agenda Cover useful terminology for today’s session HTML, browsers, servers, etc. HTML Tags Get.
Web Foundations MONDAY, SEPTEMBER 30, 2013 LECTURE 3: COMMON HTML TAGS, NEW HTML5 SECTIONS, USING FTP.
Images, Hyperlinks, and Sound Module 2: XHTML Basics LESSON 3.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 7 TH EDITION Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
Web Design Fundamentals Demystifying Basic HTML. 2 After completing this lesson, you will be able to: Understand the basics of HTML coding. Use HTML tags.
All Web pages are written with some form of HTML (HyperText Markup Language). HTML documents are saved as Text Only files so virtually any computer can.
HTML INTRODUCTION, EDITORS, BASIC, ELEMENTS, ATTRIBUTES.
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
HTML CRASH COURSE. What is HTML?  Hyper Text Markup Language  The language used to make web pages  Written by using tags.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Web Site Design & Management Class Two. Agenda Attendance Questionnaire Setup/task Homework Review Screenshots Lists/Nested Lists Home Page Links Images.
MIS 425 Lecture 3 – HTML 5 and CSS Instructor: Martin Neuhard
CPSC 203 Introduction to Computers Lab 23 By Jie Gao.
HTML INTRODUCTION. What is HTML?  HTML stands for Hypertext Markup Language  Developed in 1990  Hidden code that helps us communicate with others on.
HTML Structure & syntax. Introduction This presentation introduces the following: Doctype declaration HTML Tags, Elements and Attributes Sections of a.
1 HTML Frames
HTML Concepts and Techniques Fifth Edition Chapter 6 Using Frames in a Web Site.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
CPSC 203 Introduction to Computers Lab 66 By Jie Gao.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 2 Key Concepts 1 Copyright © Terry Felke-Morris.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
IN THIS LESSON, WE WILL BECOME FAMILIAR WITH HTML AND BEGIN CREATING A WEB PAGE IN YOUR COMPUTER HTML – the foundation.
HTML rev 01/09/2016 Hyper Text Markup Language. HTML -history  Hypertext Markup Language is the main language for creating web pages . It was first.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Hyper Text Markup Language.  My First Heading My first paragraph. Example Explained The DOCTYPE declaration defines the document type The text between.
HTML Structure & syntax
HTML Structure & syntax
Getting Started with Dreamweaver
HTML5 Basics.
XHTML Basics.
بسم الله الرحمن الرحيم.
XHTML Basics.
XHTML Basics.
Getting Started with Dreamweaver
Intro to Web Development Links
HTML Structure.
XHTML Basics.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Web Application Development
XHTML Basics.
HTML Structure & syntax
HTML Introduction.
Presentation transcript:

Web Foundations THURSDAY, SEPTEMBER 26, 2013 LECTURE 2: WORKING WITH HTML FILES, HTML BASICS, LINKING

Local Folder/Drive & Remote/Live Directory 1.Folder on the desktop or other drive local ◦Recommended if you're doing all your development from a single computer (home PC, laptop, etc) 2.Folder on USB Thumb or Portable Drive (and backed up to secondary drive location) ◦Recommended if you're doing your development from multiple locations (DEMO) EXAMPLE OF A LOCAL FOLDER 1.The REMOTE (or LIVE) directory is your "root" directory of your web site. It starts out with nothing in it, and it is up to you to copy files from your LOCAL folder/driver to your REMOTE "root" directory. 2.Moving files/folders from LOCAL to REMOTE is accomplished using an FTP client application like CORE FTP (DEMO) EXAMPLE FTP SETUP

Local folderRemote Directory

Local folderRemote Directory

Local folder Remote Directory In your local folder you will create other folders and in these other folders you will create other HTML files. You can link to these files from each other, or you can link to these files from files that are either outside the folder or inside of other folders. We'll see how to go about creating these links in a moment. Once you are done creating and linking all the files you want, save everything, then drag the whole shebang to your remote directory.

HTML Files and Browser(s) 1.Notepad++ ◦For editing the code in the HTML files 2.Browsers (Firefox, Internet Explorer, Chrome, Safari) ◦For view the BODY of the HTML files 3.When developing, it is recommended to preview and test work on multiple browsers (Firefox, IE, Chrome) (DEMO) Notepad++ <> Browsers 1.HTML walkthrough 2.Elements  Tags (opening and closing tags) 3.Tags > Attributes > Values 4.Deprecated Attributes (DEMO) EXAMPLE – BASIC HTML PAGE

The DOCTYPE 1.A statement or declaration which tells the browser what version of HTML our file is using and therefore how the code should be rendered by the browser at view time. 2.The DOCTYPE has to appear at the very top of the file, even before the opening HTML tag HTML3.2 DOCTYPE HTML4 DOCTYPE XHTML1 DOCTYPE HTML5 DOCTYPE (DEMO) DOCTYPE

The HTML 5DOCTYPE A Groovy Page. (DEMO) DOCTYPE Universal Character Set Transitional Format 8-Bit Meta Tags

The Basic HTML Page Simplest HTML page Hello Everybody. What's happening? The browser uses this information "behind the scenes" The browser uses this information To display page content Demo

The Template HTML Page HTML Template Page Heading Page Content The browser uses this head information "behind the scenes" The browser uses this body information to display page content element displays a header of a larger font size based on the default styles of the browser template.html

The Absolute & Relative Linking Absolute Linking A link that includes the entire http path Demo Relative Linking A link that only includes the file path in relation to the files and folders in your remote directory Demo blue/moon.html See the Linking page:

bit112 folder contains: labs folder index.html labs folder contains: html_lab folder html_lab folder contains: blue folder red folder rain.html spring.html summer.html sunshine.html template.html blue folder contains: moon.html stars.html red folder contains: day.html night.html Files and Folders inside of Folders (nested folders)

html_lab folder contains: blue folder red folder rain.html spring.html summer.html sunshine.html template.html blue folder contains: moon.html stars.html red folder contains: day.html night.html rain (or spring, summer, sunshine) rain spring summer sunshine moon stars day night rain.html spring.html summer.html sunshine.html blue/moon.html blue/stars.html red/day.html red/night.html NOTE: If your HTML file is outside a folder and you want to connect to a HTML inside a folder you name the folder first, then add a forward slash / then name the file. file name if inside current folder or folder name / file name if inside another folder inside current folder

html_lab folder contains: blue folder red folder rain.html spring.html summer.html sunshine.html template.html blue folder contains: moon.html stars.html red folder contains: day.html night.html moon (or stars) rain spring summer sunshine moon stars day night../rain.html../spring.html../summer.html../sunshine.html moon.html stars.html../red/day.html../red/night.html NOTE: If your HTML file is inside a folder and you want to connect to a HTML outside a folder you use../ to back out of the folder then name the file. If your HTML file is inside a folder and you want to connect to a HTML inside a different folder you use../ to back out of the folder then name the folder, add a slash / then name the file. dot dot slash../ to access file directly outside the current folder

html_lab folder contains: blue folder red folder rain.html spring.html summer.html sunshine.html template.html blue folder contains: moon.html stars.html red folder contains: day.html night.html day (or night) rain spring summer sunshine moon stars day night../rain.html../spring.html../summer.html../sunshine.html../blue/moon.html../blue/stars.html day.html night.html NOTE: If your HTML file is inside a folder and you want to connect to a HTML outside a folder you use../ to back out of the folder then name the file. If your HTML file is inside a folder and you want to connect to a HTML inside a different folder you use../ to back out of the folder then name the folder, add a slash / then name the file.../foldername/filename to access file outside the current folder but inside a different folder

The Anchor Tag and Linking Spring Spring here Can't wait till spring ! spring.html Demo

Rain Rain rain sunshine day night moon stars rain.html Demo

Rex Winkus's Portfolio Week 1 summer spring rain sunshine moon stars day night template index.html Demo

To link "back" out of one nested folder (or traverse "up" the tree once) you'd use:../filename.html To link "back" out of two nested folders (or traverse "up" the tree twice) you'd use:../../filename.html To link "back" out of three nested folders (or traverse"up" the tree thrice) you'd use:../../../filename.html The "dot dot slash" Explained