Web Design and Development ACS Chapter 3. Document Setup

Similar documents
Web Development. Owen Sacco. ICS2205/ICS2230 Web Intelligence

Introduction to Web Development

Microsoft Expression Web Quickstart Guide

How To Create A Web Page On A Windows (For Free) With A Notepad) On A Macintosh (For A Freebie) Or Macintosh Web Browser (For Cheap) On Your Computer Or Macbook (

ART 379 Web Design. HTML, XHTML & CSS: Introduction, 1-2

HTML and CSS. Elliot Davies. April 10th,

Introduction to web development using XHTML and CSS. Lars Larsson. Today. Course introduction and information XHTML. CSS crash course.

How to Edit Your Website

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

WEB DEVELOPMENT IA & IB (893 & 894)

Web Authoring CSS. Module Descriptor

How To Use Dreamweaver With Your Computer Or Your Computer (Or Your Computer) Or Your Phone Or Tablet (Or A Computer)

Web Design Course. Home Page. Join in. Home. Objectives. Course Content. Assignments & Discussion. Grades. Help. Contact Me aab43@uakron.

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

Module 6 Web Page Concept and Design: Getting a Web Page Up and Running

CS134 Web Site Design & Development. Quiz1

ebooks: Exporting EPUB files from Adobe InDesign

Fast track to HTML & CSS 101 (Web Design)

Dreamweaver CS3 THE MISSING MANUAL. David Sawyer McFarland. POGUE PRESS" O'REILLY 8 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo

HTML, CSS, XML, and XSL

CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions)

Using Adobe Dreamweaver CS4 (10.0)

ICE: HTML, CSS, and Validation

Contents. Downloading the Data Files Centering Page Elements... 6

Basic Website Maintenance Tutorial*

Madison Area Technical College. MATC Web Style Guide

HTML Fundamentals IN THIS APPENDIX

Basics of HTML (some repetition) Cascading Style Sheets (some repetition) Web Design

How To Create A Website In Drupal 2.3.3

Lesson Review Answers

Learnem.com. Web Development Course Series. Quickly Learn. Web Design Using HTML. By: Siamak Sarmady

Introduction to Web Technologies

Saving work in the CMS Edit an existing page Create a new page Create a side bar section... 4

Getting Started with KompoZer

Your Blueprint websites Content Management System (CMS).

Advanced Online Media Dr. Cindy Royal Texas State University - San Marcos School of Journalism and Mass Communication

CREATING WEB FORMS WEB and FORMS FRAMES AND

BLACKBOARD 9.1: Text Editor

HTML TIPS FOR DESIGNING

ITP 101 Project 3 - Dreamweaver

Dreamweaver. Introduction to Editing Web Pages

COMMONWEALTH OF PENNSYLVANIA DEPARTMENT S OF Human Services, INSURANCE, AND AGING

Taking your HTML s to the Next Level. Presented by: Joey Trogdon, Asst. Director of Financial Aid & Veterans Affairs Randolph Community College

CREATING WEB PAGES USING HTML INTRODUCTION

Quick Guide to the Cascade Server Content Management System (CMS)

No restrictions are placed upon the use of this list. Please notify us of any errors or omissions, thank you,

Hypercosm. Studio.

HTML Fails: What No One Tells You About HTML

General Electric Foundation Computer Center. FrontPage 2003: The Basics

Working with sections in Word

Go Kiwi Internet Content Management System Version 5.0 (K5) TRAINING MANUAL

WYSIWYG Tips and FAQ

Designing HTML s for Use in the Advanced Editor

How To Write A Web Page In Html

How to create a blog or website

Going Above and Beyond

Web Authoring. Module Descriptor

Creating tables of contents and figures in Word 2013

Basic Formatting of a Microsoft Word. Document for Word 2003 and Center for Writing Excellence

Website Planning Checklist

The Web Web page Links 16-3

Website Development Komodo Editor and HTML Intro

Using Style Sheets for Consistency

Web layout guidelines for daughter sites of Scotland s Environment

Adobe Dreamweaver Student Organizations Publishing Details Getting Started Basic Web Page Tutorial For Student Organizations at Dickinson College *

eportfolio Student Guide

Introduction to Web Design Curriculum Sample

Basic tutorial for Dreamweaver CS5

Mobile Publishing. Academy of Journalism and Media, Faculty of Economic Sciences, University of Neuchâtel Switzerland

Advanced Online Media Dr. Cindy Royal Texas State University - San Marcos School of Journalism and Mass Communication

HTML Exercise 6 Linking to Specific Locations within Documents (Bookmarks)

ebooks: From Adobe InDesign to the Kindle Store

Advanced Web Development SCOPE OF WEB DEVELOPMENT INDUSTRY

Microsoft Word 2011: Create a Table of Contents

Responsive Web Design for Teachers. Exercise: Building a Responsive Page with the Fluid Grid Layout Feature

Advanced Drupal Features and Techniques

Content Management System User Guide

Short notes on webpage programming languages

Web Accessibility means that a website is accessible if everyone, regardless of ability, can access the website and retrieve all the information

CIS 467/602-01: Data Visualization

Missing cat website HTML&CSS. The Mission:

Creating a Resume Webpage with

LRB Portfolio User Guide

SWMS. Simple Website Management System. Martyn Bampton September A fast and friendly way to build and maintain Websites

Web Publishing Basics 2

MadCap Software. Import Guide. Flare 11

IAS Web Development using Dreamweaver CS4

Advanced Web Design. Zac Van Note.

Adobe Dreamweaver CC 14 Tutorial

Microsoft Expression Web

css href title software blog domain HTML div style address img h2 tag maintainingwebpages browser technology login network multimedia font-family

Adobe Dreamweaver - Basic Web Page Tutorial

What is a Web Browser? Web Site Functionality. A client program that uses HTTP to communicate with web servers.

Web Development I & II*

Microsoft Word 2013 Tutorial

Web Developer Jr - Newbie Course

Development Perspective: DIV and CSS HTML layout. Web Design. Lesson 2. Development Perspective: DIV/CSS

Content Builder: How-To Guide

Web page design in 7 days!

Transcription:

Web Design and Development ACS-1809 Chapter 3 Document Setup 1

Create an HTML file At their very core, HTML files are simply text files with two additional feature..htm or.html as file extension name They have tags. Tags are commands or code used to tell the web browser how to display the page content. 2

3

Naming Conventions About the file name Be consistent about.htm or.html Case sensitivity Simple file names with only letters and numbers. Don t use spaces, punctuation, or special characters. (No -,_... ) Remember to save your file as a text file (on both PCs and Macs) 4

Preview of You HTML Work No need to upload the file to be able to preview in the browser Use open from File menu in your browser. Example If the file is already opened in the web browse then just a refresh/reload is enough 5

HTML Document Format AN HTML element or tag is a command used to tell the browser how to display content on a page. <em> Reminder: </em> Tags are placed within brackets (< >). Example: <p> creates paragraphs, <li> creates list items, and <br> adds a line break. 6

Types of Tags Document Setup Elements in this category include those necessary to set up a basic HTML page html, head, title, Text-Level Semantics These elements help the browser understand the meaning behind bits of text content fonts, Sectioning Elements used to section large chunks of content and divide up the page belong in this category div, header, Grouping Elements used to section smaller chunks of content, like lists and paragraphs, fall into this category

Types of Tags Embedding Often times, we need to embed content from other sources into a web page image, vidoe, audio, Tables The elements that are used for managing tabular data Forms Any element used in the development of a web form falls into this category

Types of Tags Opening and Closing tags. <p> as an opening tag: to signify where to start a paragraph Closing tag: to signify where the paragraph ends The same tag with a forward slash placed before it: </p> Not all tags in HTML5 are required to have both opening and closing tags. They are called empty if just one tag 9

Table 2-1: Basic HTML Page Opening Tag Closing Tag Tags Description!DOCTYPE n/a -Tells the browser about the standards used in your page. <html> </html> -Frames the entire HTML page. <head> </head> -Frames the identification information for the page, such as title, that is transferred to the browser and search engines. <body> </body> -Frames the content of the page. <title> </title> -Gives the name of the page that will appear at the top of browser window. - Is contained within <head> and </head>. 10

Attribute Many tags have additional aspects that you can customize. These options are called attributes Attributes are placed after the element name but before the final bracket <img src= mypicture.jpg width= 100 height= 100 alt= A photo of me /> Base element is img : insert an image at this spot The attributes are: src, width, height, alt Each attribute has a value, which comes after = sign and is placed within quotation marks 11

Attributes Cont Multiple attributes can be included in a single tag Only add the attributes to the opening tag, and then close this opening tag (NO attributes in closing tag) img tag doesn t have a separate closing tag This is referred to as being empty To close tags without separate closing versions, simply place a forward slash(/) before the final bracket This is not required in HTML5, but good for stricter validation (like XML parser) 12

HTML Document HTML document is one big element <html>your html document</html> There is a head and a body Head: <head>the header</head> contains information about the document like title, keywords for search engine, etc Body: <body>the body</body> contains the content of the web page tells the browser how to display it Body is always placed after the head element

Required tags - Example <!DOCTYPE html PUBLIC -//w3c//dtd XHTML 1.0 Transitional//EN http://www.w3.org/tr/xhtml1/dtd/transitional.dtd > <html> <head> <title> My First HTML page</title> </head> <body> This is a very basic HTML page. </body> </html> 14

!DOCTYPE The!DOCTYPE tag: tells which version of HTML is used in the document In HTML 4.01 XHTML Transitional : for documents that combine old and new HTML code XHTML Strict : for documents that only use new code XHTML Frameset: for documents containing frames Now it s much simpler for HTML5 just use html for <!DOCTYPE> <!DOCTYPE html> 15

Required tags - Example So now the previous HTML code becomes: <!DOCTYPE html> <html> <head> <title> My First HTML page</title> </head> <body> This is a very basic HTML page. </body> </html> 16

About the Tag In earlier days HTML was case insensitive HTML4 became case sensitive and requires all tags to be lowercase All values for attributes must be placed within quotation marks <p style= font-family: verdana; > The value of the attribute Now in HTML5, it s case insensitive again To keep backward compatible it s still recommended to use lower case for all the tags as well as the quotation marks 17

Nesting Containing one HTML tag inside another <strong> This text is bold and <em>italic</em></strong> The em tag is nested within strong tag Proper way and improper way to nest tags: <strong> <em>these tags are nested properly.</em></strong> <strong> <em>these tags are not nested properly.</strong>.</em> 18

Spacing and Break Two places within an HTML file to add breaks: In between tags (as well as their components) -- to help you differentiate between sections of the page. In between lines of text within the body of the page. 19

Spacing and Breaks <html> <head> <title>my first web page</title> </head> The title tag is indented to show it is contained or nested within the head tag. 20

Spacing Between Lines of Text <!DOCTYPE html> <html> <head> <title> My first web page</title> </head> <body> Welcome. Thank you for visiting my first web page. I have several other pages that you might be interested in. </body> </html> 21

Spacing Between Lines of Text To make those line breaks appear, you have to use a tag to tell the browser to insert a line break. <br> : simple line break. <p></p>: paragraph break. 22

Spacing Between Lines of Text Cont So to display the blank line it should be in this way: <p>welcome.</p> <p>thank you for visiting my first web page. I have several other pages that you might be interested in.</p> HTML can not recognize extra space either To put more than one space between words, you must use style sheets or special characters 23

Special Characters Character Numbered Entity Named Entity &#34 " & &#38 & (nonbreaking space) &#160 &#169 &#174 é &#233 é < &#60 < > &#62 > Appendix D : full list 24

Comments To leave comments or notes that you don t want the visitors of your web site see (e.g. Reminders to yourself): Space <!-- Remember to update this page after the new product becomes available. --> Space 25