Building a Webpage Extended Learning Module F

Slides:



Advertisements
Similar presentations
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Advertisements

HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
CIS101 Introduction to Computing Week 05. Agenda Your questions CIS101 Survey Introduction to the Internet & HTML Online HTML Resources Using the HTML.
Web Design MGS 351- Renee Cerullo. What makes the Internet work HTTP - Hyper Text Transfer Protocol DNS - Domain Name Server DNS servers are used to map.
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
HTML Introduction HTML
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Hypertext Markup Language (HTML) Created by Sarah Dooley & Amanda Foster Edited and presented by Caroline Hallam September 9, 2014.
CIS101 Introduction to Computing Week 06. Agenda Your questions Excel Exam during second hour Our status after the snow day Introduction to the Internet.
Basic Web Page Design. Text book: HTML, XHTML, and CSS: Visual QuickStart Guide, Sixth Edition written by Elizabeth Castro. Software: Adobe® Dreamweaver®
Overview of HTML. Three Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Intro to MIS – MGS351 Building a Webpage. Chapter Overview m The World Wide Web – Web servers, Web browsers and Web pages m HTML Introduction m Using.
 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.
Unit 1 – Developing a Web Page. Objectives:  Learn the history of the Web and HTML  Describe HTML standards and specifications  Understand HTML elements.
Ch 5 HTML and CSS Web Standards Solutions A Web Standardistas’ Approach.
ULI101 – XHTML Basics (Part II) What is Markup Language? XHTML vs. HTML General XHTML Rules Block Level XHTML Tags XHTML Validation.
CS117 Introduction to Computer Science II Lecture 1 Introduction to WWW and HTML Instructor: Li Ma Office: NBC 126 Phone: (713)
Bare bones notes. Suggested organization for main folder. REQUIRED organization for the 115 folder.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
CM143Web Week 8 Review of Assignment 1 Revision & Elaboration.
XHTML Introduction to Xtensible HyperText Markup Language Screen Readers – Click the Notes button in the lower right corner.
Overview of HTML/XHTML Two Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Web Page Design Introduction. The ________________ is a large collection of pages stored on computers, or ______________ around the world. Hypertext ________.
The Web and HTML Tutorial Building a Webpage. Chapter Overview m The World Wide Web – Web servers, Web browsers and Web pages m HTML Introduction m Using.
HTML A brief introduction HTML1. HTML, what is? HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup.
Web Page Design The Basics. The Web Page A document (file) created using the HTML scripting language. A document (file) created using the HTML scripting.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
Finally getting to html and CSS… Tim Berners-Lee, the writer of the software program that makes him the inventor of the WWW, defines the Internet as a.
HTML Structure & syntax
HTML Structure & syntax
Getting Started With HTML
Getting Started with Dreamweaver
4.01 How Web Pages Work.
Intro to HTML CS 1150 Spring 2017.
Cascading Style Sheet.
INTRO TO WEB DEVELOPMENT html
Introduction to HTML.
4.01 How Web Pages Work.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
CS7026: Authoring for Digital Media HTML Authoring
Intro to HTML CS 1150 Fall 2016.
Bare boned notes.
HyperText Markup Language
Chapter 1 Introduction to HTML.
Coding, Testing and Valdating a Web Page
Project 1 Introduction to HTML.
Cascading Style Sheets (CSS)
Introduction to XHTML.
HTML Robert McIntosh
Using Access and the Web
Microsoft Office Illustrated
Introduction to CSS.
CISC103 Web Development Basics: Web site:
HTML A brief introduction HTML.
Unit A.
Overview of HTML.
Getting Started with Dreamweaver
Made By : Lavish Chauhan & Abhay Verma
CIS 133 mashup Javascript, jQuery and XML
Web Development 101 Workshop
An Introduction to HTML Pages
Creating a Basic Web Page
HTML Structure & syntax
4.01 How Web Pages Work.
Web Design & Development
Presentation transcript:

Building a Webpage Extended Learning Module F Intro to MIS - MGS351 Building a Webpage Extended Learning Module F

Overview The World Wide Web HTML Introduction Using HTML Tags Web servers, Web browsers and Web pages HTML Introduction Using HTML Tags HTML5 Best Practices HTML5 Webpage Structure Cascading Style Sheets (CSS) UB Web Environment

Web Pages Viewing a web page involves using a web browser (Chrome, IE, Firefox) to connect to a networked machine running web server software (IIS, Apache). This action loads an HTML file from the web server and sends it to your computer across the Internet using the HTTP and TCP/IP protocols, and the file is displayed by your web browser software as a web page.

Web Server Stats https://news.netcraft.com/archives/category/web-server-survey/

Default Web pages Default page appears when visiting a website without specifying the file name in the URL. mgs351.com displays mgs351.com/index.html Default pages are usually either index.htm, index.html, index.asp, default.htm, default.html or default.asp. These options are configured in the web server.

HTML Introduction HTML (Hypertext Markup Language) is the code used to build web pages. Web pages are text files with HTML code. You can view the HTML code on any webpage by clicking on Source from the View menu in a web browser. HTML files usually have either .htm or .html file extension

W3C – www.w3.org World Wide Web Consortium - founded in 1994 Creates specifications and guidelines that are intended to promote the web’s evolution and ensure that web technologies work well together Specifications for: HTML, CSS, XML, XHTML, DOM, etc…

HTML5 released at a faster pace W3C Standards HTML5 released at a faster pace HTML 4.01 approved on 12/24/1999 HTML 5 approved on 10/28/2014 HTML 5.1 approved on 11/1/2016 HTML 5.2 approved on 12/14/2017

Using HTML Tags Most HTML tags have an opening and corresponding closing tag indicated by a slash /. <pre>…</pre> <b>…</b> Anything between the tags, denoted by the “…” above, will be modified according to the behavior described by the tag.

HTML Caveats Extra spaces (beyond one) in the code and any line breaks are ignored by the browser when rendering the HTML page.   is a special symbol that can be used to insert extra spaces. <br> or <p> can be used to create necessary line breaks.

HTML Caveats

HTML Caveats

HTML5 Best Practices All tags should be closed - including tags like <br/> All tags should be in lowercase except for the DOCTYPE tag All tag attributes values should be quoted and exist CSS are used for page formatting

HTML5 Webpage Structure <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title> ... </title> </head> <body> ... </body> </html>

Design with Cascading Style Sheets Presentation languages (CSS) format the web page, controlling the typography, placement, color, etc… Due to the separation of structure from presentation you can easily change one without affecting the other CSS is implemented with inline, internal or external style sheets Large sites may reduce bandwidth costs too

Cleaner Code with CSS WITHOUT CSS <p><font color=“#000000” size=“10px”><b>heading of an article</b></font></p> WITH CSS <p class=“articleheading”>heading of an article</p>

CSS Example - Inline Stylesheet <!DOCTYPE html> <html lang="en"> <head><meta charset="utf-8"> </head> <body style="background-color:lightgray"> <h1 style="color:red; text-align:center"> This is a heading</h1> <p style="color:blue; font-style: italic"> This is a paragraph.</p> </body> </html>

Inline Stylesheet Output

CSS Example - Internal Stylesheet <!DOCTYPE html> <html lang="en"> <head><meta charset="utf-8"> <style> body {background-color:lightgray} h1   {color:red; text-align:center} p    {color:blue; font-style: italic} </style> </head> <body> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html>

Internal Stylesheet Output

CSS Example - External Stylesheet <!DOCTYPE html> <html lang="en"> <head><meta charset="utf-8"> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html>

CSS Example - External Stylesheet (style.css) body {background-color:lightgray} h1   {color:red; text-align:center} p    {color:blue; font-style: italic}

External Stylesheet Output

UB Web Environment UB provides web space for each student on the UBUNIX servers which run the Apache webserver. Your webpage can be viewed in any of the two locations. www.buffalo.edu/~djmurray www.acsu.buffalo.edu/~djmurray

UB Web Environment URLs and files are case sensitive because the UNIX OS is case sensitive. www.buffalo.edu/~djmurray/INDEX.html - error! www.buffalo.edu/~djmurray/index.html - works! Windows servers running IIS are not case sensitive. Both work properly. http://mediastream.buffalo.edu/Content/courses/ http://mediastream.buffalo.edu/CONTENT/COURSES/

UB Web Environment Remember that a webpage is simply a file stored on a webserver in a particular location. Your UB homepage is stored in the public_html directory of your S: drive. Anything in that directory is technically on the web.

Enable your homepage first. UB Web Environment It’s easiest to work from a lab computer since they have direct access to the S: drive folders. Enable your homepage first. https://www.acsu.buffalo.edu/cgi-bin/ubfs_activatepersonalwebsite.cgi Use Windows Notepad or Notepad++ to edit the index.html file in your public_html folder.

UB Web Environment If you are using a computer on the UB network (Resnet, wireless, VPN), you can map a network drive and create your own S: drive as explained at this website. http://www.buffalo.edu/ubit/service-guides/file-storage-and-sharing/accessing-myfiles-from-anywhere/getting-started-by-accessing-ubfs.html

UB Web Environment Another option is using FTP software (Filezilla or Fetch) to upload files to your UB web space using these settings. VPN also required when using from off campus. Host: ubunix.buffalo.edu Server Type: SFTP – SSH File Transfer Protocol Login Type: Ask for password

Now its time to try some HTML tags. Next Steps The hard part is often understanding how the web environment works and where to save the HTML files so they appear on the web! Now its time to try some HTML tags.