Web Site Construction I: HTML for Structure

Total Page:16

File Type:pdf, Size:1020Kb

Web Site Construction I: HTML for Structure Web Site Construction I: HTML for Structure David Gerbing School of Business Administration Portland State University Table of Contents Typeface Conventions ....................................................................................................................................... 3 SECTION I STRUCTURE THE WEB PAGE WITH HTML ........... 1 HTML ..................................................................................................................................................................... 2 Text vs. Binary Files .......................................................................................................................................... 2 Creating HTML Text ......................................................................................................................................... 2 An HTML File (for a single web page) ............................................................................................................. 3 Mark-up Tags for Document Structure (Elements) ........................................................................................... 5 paragraph ..................................................................................................................................................... 6 heading ......................................................................................................................................................... 6 lists ................................................................................................................................................................ 6 tables ............................................................................................................................................................. 6 div - generic block element ........................................................................................................................ 8 Mark-up Tags for Graphic and Hypertext Link Elements ................................................................................. 9 image ............................................................................................................................................................ 9 hypertext anchor ........................................................................................................................................ 10 navigation menus ...................................................................................................................................... 11 span - generic in-line element ................................................................................................................. 11 comments ................................................................................................................................................... 11 Example Web Page from HTML ..................................................................................................................... 12 Screen Colors ................................................................................................................................................... 13 INDEX .............................................................................................................. 2 © David W. Gerbing, 2013 Typeface Conventions Typeface Indicates … literal a literal computer keyword, entered exactly as shown example a specific example of a word or phrase the user is free to choose choice the name of the attribute for which the user is free to choose his or her own word or phrase Consider the following actual code, <img src="images/jacket.jpg" alt="jacket"> . Enter the <img src=" exactly as shown. Similarly for the alt=" and ">. The phrase images/jacket.jpg is based on names supplied by the user, in this case a directory called “images” and a file within that directory called “jacket.jpg”. In contrast to the actual code displayed above, the more general definition displays as <img src="name" alt=”description” /> . Here the user specifies his or her own chosen name, such as images/jacket.jpg from the above example code. SECTION I STRUCTURE THE WEB PAGE WITH HTML This section shows how to describe the structure of a document with HTML. Structural elements include paragraphs, headings, lists and tables. Web Site Construction HTML HTML, or Hypertext Mark-up Language, is an integral component of the World Wide Web. Based upon previous work on the concept of mark-up languages, Tim Berners-Lee developed HTML in 1989 while working at CERN, the European Laboratory for Particle Physics in Geneva, Switzerland. As part of HTML, Mr. Berners-Lee specified the form of a hypertext link which, when clicked, transports the user to another web page. He also invented the naming system of www.whatever.com, and he wrote the first browser and web server. Mr. Berners-Lee continues to contribute to the development of the web through the present as Director of the World Wide Web Consortium (W3C), an organization that develops standards and specifications for the web. There is a more industry focused and competing organization called the Web Hypertext Application Technology Working Group (WHATWG). Text vs. Binary Files A web browser constructs much of the display of a web page from a type of computer file called a text file, specifically an HTML text file. A text file contains only digital representations of the standard characters such as the uppercase letter A, punctuation and a few control codes such as tab and linefeed. A text file contains no styling commands for achieving presentation effects such as italicized text or page numbering. As such, a text file is application independent, belonging to no one single application. The same text file can be read and written by many applications that vary from MS Word to specialized text editors for developing web pages, such as Bluefish. Creating HTML Text Visual editors. A visual web page creation program, often called a WYSWYG (What You See is What You Get) application, generates the HTML mark-up from the page laid out by the user. The web site program that is almost a standard among professional designers is Adobe’s Dreamweaver. Most applications today, however, including MS Office, save the on-screen display of a document to a web page. To visualize how these web authoring systems work, consider MS Word, which can serve as a WYSWYG editor for a single web page. Place a title, some 2 Gerbing © 2013 I. HTML pictures and some text on a Word page, and use the Hyperlink… command from the Insert menu to create some links. Then Save as Web Page… and the needed HTML is automatically created. Just move a set of the created HTML files and associated graphics to a web server and you have a web site! These WYSWYG editors work well, but they are expensive (many hundreds of dollars) and do not provide the highest level of control because they, and not the user, generate the HTML mark-up. Ultimately most web site designers also tweak the HTML themselves, or provide all of the mark-up. To do requires another type of editor. HTML text editors. Some text editors, called HTML editors require the designer to write his or her own HTML, which provides the ultimate level of control over the implementation of the web page. Fortunately these editors provide many features that facilitate this hand coding and, are also much more inexpensive than products such as Dreamweaver. For example, a specialized text editor automatically colors the HTML elements differently from the page’s content, and inserts elements into the text directly from a dictionary of HTML tags obtained from a special menu. An excellent and free HTML editor is Bluefish. Besides being free of cost, Bluefish also works on Windows, Mac and Linux/Unix. Any text editor, such as NotePad on windows and TextEdit on the Mac, also work for editing HTML files, but a primary advantage of Bluefish is the ability to browse for linked images and web pages, from which Bluefish constructs the proper code that correctly identifies the linked content. An HTML File (for a single web page) Before beginning a web project there is one step that first must be accomplished. First create a folder on your file system that will contain all of the files of your web site. This folder includes an images folder for storing all graphics to be displayed on the site. From the beginning make sure that all files to be displayed on the finished web site are contained within this same folder on your PC. Later these files will be transferred to a web server for access to the entire Internet. Mark-up. A text file primarily contains only standard text characters, so how is the file styled for display? Embedded in the file are standard text characters called mark-up tags, which indicate structural features such as the beginning of Gerbing © 2013 3 Web Site Construction a paragraph, or a second-level header. An application called a web browser then reads the text file and displays the content according to the styling instructions based on the various mark-up tags. Examples of a web browser include Microsoft’s Internet Explorer, Apple’s Safari, and Google’s Chrome. The file with the embedded mark-up tags is called an HTML file. These tags are specified according to the HTML standard beginning with the work of Tim Berners-Lee. A web browser displays the web page according to the structure of the HTML file provided by the mark-up tags (and their corresponding styling instructions). Figure 1. Initial formulation of input to, and output from,
Recommended publications
  • 1 Chapter -3 Designing Simple Website Using Kompozer
    RSCD Chapter -3 Designing Simple Website Using KompoZer ------------------------------------------------------------------------------------------- 1. ……………plays a very important role in a business now-a-days. a) Website b) webpage c) Web browser d) Web host 2. …………….is a collection of interlinked web pages for a specific purpose. a) Website b) webpage c) Web browser d) Web host 3. ………….defines what we want to achieve by developing a website. a)Objective b) Goal c) Planning d) Target 4. Once by knowing the reason for developing a website, you must decide …….of the website. a)Objective b) Goal c) Planning d) Target 5. ……….means for whom the website is to be developed. a)Objective b) Goal c) Planning d) Target audience 6. From the following which is important for content of a webpage? a) Text and graphics for website b) Content as per visitor’s requirements c) Too short or too long content d) All of these 7. Who provides trial version of the software for free download? a) Editor b) Vendor c) Visitor d) None 8. The visual diagram of the website is known as ……………… a) Site Map b) Image Map c) Site Editor d) Site Browser 9. The website should contain should be classified into ………….categories. a) General b) Detailed c) Simple d) Both a and b 10. What is the first step for planning a website? a) Homepage b) Target audience c) Objective and Goal d) Browser compatibility 11. The website must contain ………………….information. a) Complete b) relevant c) incomplete d) Both a and b 12. What is the key point of a website? a) Content b) Homepage c) Objective and Goal d) Browser Compatibility 13.
    [Show full text]
  • CTE Course Description and Standards Crosswalk
    DISTRICT NAME: SITKA SCHOOL DISTRICT CTE Course Description and Standards Crosswalk Course Information Course Name Web Design & Development Course Number 0682 Number of High School 0.5 Credits Sequence or CTEPS (You must first have the Sequence N/A or CTEPS entered into the EED-CTE system.) Date of district Course May 2013 Revision Career & Technical Student Organization (CTSO) CTSO embedded in this Suggested CTSO: Technology Student Association - http://www.tsaweb.org/ sequence Occupational Standards National Workforce Center for Emerging Technologies (NWCET) http://www.washington.edu/accessit/webdesign/nwcet_standards.htm SkillsUSA (SUSA-CP) (SUSA-3D) (SUSA-E) http://www.workforcereadysystem.org/media/blueprints/ComputerProgramming_blueprint.pdf http://www.workforcereadysystem.org/media/blueprints/3Dvisualization_blueprint.pdf Source of Occupational http://www.workforcereadysystem.org/media/blueprints/Employability_blueprint.pdf Standards International Society for Technology in Education (ISTE) www.iste.org World Wide Web Consortium (W3C) http://www.w3.org/ NWCET – Web Development and Administration Cluster A. Perform Technical Analysis (A1-A2, A4-A6) B. Perform Web Programming (B1-B4) C. Develop, Deliver and Manage Content (C4-C6) D. Implement and Maintain Site and Applications (D1-D4) F. Manage Enterprise-wide Web Activities (F1, F4) G. Perform Testing and Quality Assurance (G3-G5) SUSA-CP – SkillsUSA Computer Programming (see link above) Names/Numbers of SUSA-3D - SkillsUSA Visualization and Animation (see link above) Occupational
    [Show full text]
  • Cascading Style Sheet Web Tool
    CASCADING STYLE SHEET WEB TOOL _______________ A Thesis Presented to the Faculty of San Diego State University _______________ In Partial Fulfillment of the Requirements for the Degree Master of Science in Computer Science _______________ by Kalthoum Y. Adam Summer 2011 iii Copyright © 2011 by Kalthoum Y. Adam All Rights Reserved iv DEDICATION I dedicate this work to my parents who taught me not to give up on fulfilling my dreams. To my faithful husband for his continued support and motivation. To my sons who were my great inspiration. To all my family and friends for being there for me when I needed them most. v ABSTRACT OF THE THESIS Cascading Style Sheet Web Tool by Kalthoum Y. Adam Master of Science in Computer Science San Diego State University, 2011 Cascading Style Sheet (CSS) is a style language that separates the style of a web document from its content. It is used to customize the layout and control the appearance of web pages written by markup languages. CSS saves time while developing the web page by applying the same layout and style to all pages in the website. Furthermore, it makes the website easy to maintain by just editing one file. In this thesis, we developed a CSS web tool that is intended to web developers who will hand-code their HTML and CSS to have a complete control over the web page layout and style. The tool is a form wizard that helps developers through a user-friendly interface to create a website template with a valid CSS and XHTML code.
    [Show full text]
  • Unix Quickref.Dvi
    Summary of UNIX commands Table of Contents df [dirname] display free disk space. If dirname is omitted, 1. Directory and file commands 1994,1995,1996 Budi Rahardjo ([email protected]) display all available disks. The output maybe This is a summary of UNIX commands available 2. Print-related commands in blocks or in Kbytes. Use df -k in Solaris. on most UNIX systems. Depending on the config- uration, some of the commands may be unavailable 3. Miscellaneous commands du [dirname] on your site. These commands may be a commer- display disk usage. cial program, freeware or public domain program that 4. Process management must be installed separately, or probably just not in less filename your search path. Check your local documentation or 5. File archive and compression display filename one screenful. A pager similar manual pages for more details (e.g. man program- to (better than) more. 6. Text editors name). This reference card, obviously, cannot de- ls [dirname] scribe all UNIX commands in details, but instead I 7. Mail programs picked commands that are useful and interesting from list the content of directory dirname. Options: a user's point of view. 8. Usnet news -a display hidden files, -l display in long format 9. File transfer and remote access mkdir dirname Disclaimer make directory dirname The author makes no warranty of any kind, expressed 10. X window or implied, including the warranties of merchantabil- more filename 11. Graph, Plot, Image processing tools ity or fitness for a particular purpose, with regard to view file filename one screenfull at a time the use of commands contained in this reference card.
    [Show full text]
  • Create HTML Template Speech Cursor Actions When Sending Bulk Email in Sumac, You Usually Want to Use a Template
    Create HTML Template Speech Cursor Actions When sending bulk email in Sumac, you usually want to use a template. For example, if you email your newsletter , you use a template for the newsletter to ensure that each recipient receives a personalized newsletter in their inbox. When creating a template for an email, the template should be in xls --> spreadsheet HTML format. HTML is an abbreviation for Hypertext Markup doc --> word processing Language. HTML is a document format for data being sent over the Internet, just like .xls is a format for spreadsheets, or .docx is a format for a word processing documents. The HTML format allows links, pictures, tables, different colours and fonts, all in the body of an email. You have used HTML hundreds of times because a web browser hmtl --> web pages and email is actually just a program for viewing HTML documents. Just as you would use a spreadsheet program to edit and .xls file, you need a specific program to edit an HTML document. Most word processing programs have the ability to save a document in HTML format. Although it may seem convenient to use Microsoft Word, don't do it. It will not work. Microsoft Word inserts a variety of codes into HTML which are incorrectly interpreted by email programs, including Outlook. If you do not already have an HTML editor, consider Sea Monkey. This open source program runs on Macintosh, Windows and Linux computers. It creates very standard HTML which works with most email programs. We use Sea Monkey to create all our newsletters! Use your browser to go to seamonkey-project.org to download Open web browser.
    [Show full text]
  • Bonus Chapter B Programming for X
    Bonus Chapter B Programming for X In this chapter and the next, we’ll take a look at writing programs to run in the usual Linux graphical environment, the XWindow System or X, http://www.x.org/Xorg.html. Modern UNIX systems and nearly all Linux distributions are shipped with a version of X. We’ll be concentrating on the programmer’s view of X, and we’ll assume that you are already comfortable with configuring, running, and using X on your system. We’ll cover ❑ X concepts ❑ X Windows managers ❑ X programming model ❑ Tk—its widgets, bindings, and geometry managers In the next chapter, we’ll move on to the GTK+ toolkit, which will allow us to program user interfaces in C for the GNOME system. What Is X? X was created at MIT as a way of providing a uniform environment for graphical programs. Nowadays it should be fair to assume that if you’ve used computers, you’ve come across either Microsoft Windows, X, or Apple MacOS before, so you’ll be familiar with the general concepts underlying a graphical user interface, or GUI. Unfortunately, although a Windows user might be able to navigate around the Mac interface, it’s a different story for programmers. Each windowing environment on each system is programmed differently. The ways that the display is handled and the programs communicate with the user are different. Although each system provides the programmer with the ability to open and manipulate windows on the screen, the functions used will be different. Writing applications that can run on more than one system (without using additional toolkits) is a daunting task.
    [Show full text]
  • Web Page Development Using Seamonkey
    Web Page Development using SeaMonkey Please note that this introductory manual has been designed for use in coordination with the Web Page Development using SeaMonkey workshop. For a complete listing of currently offered workshops, please refer to http://www.neiu.edu/scs. Student Computing Services Academic Computing, NEIU B-107 Web: www.neiu.edu/~scs Email: [email protected] Phone: 773-442-4390 Web Page Development using SeaMonkey Syllabus Course Description: This workshop will introduce basic concepts regarding web page development on a Mac- intosh OS X system. Using Mac OS X, we will explore how to create a web page, upload it into an NEIU account, and how to view the web page from a browser. Prerequisites: Basic understanding of Macintosh OS X or attendance to the Introduction to Macintosh workshop. Basic knowledge of the Internet and Internet Applications. Goal(s) of the Workshop: Participants should leave with an understanding of how to create their own web page using Netscape Composer on a Macintosh system. This workshop can also serve as a foundation for the Web Page Development using iWeb workshop. Course Content: · create an HTTP directory · create a blank web page · create links · insert pictures · use ftp to upload files · preview the web page online · editing an existing web page. Disclaimer: The Web Page Development using SeaMonkey workshop is recommended for people unfamiliar with web page development. Basic knowledge of the Macintosh Operating System is necessary in order to maximize results from this workshop. The screen cap- tures found in this document are based on the Macintosh Operating System X.
    [Show full text]
  • Adobe Dreamweaver Classroom in a Book® (2021 Release) © 2021 Adobe
    2021 release Classroom in a Book® The official training workbook from Adobe Jim Maivald Adobe Dreamweaver Classroom in a Book® (2021 release) © 2021 Adobe. All rights reserved. Adobe Press is an imprint of Pearson Education, Inc. For the latest on Adobe Press books, go to www.adobepress.com. To report errors, please send a note to [email protected]. For information regarding permissions, request forms and the appropriate con- tacts within the Pearson Education Global Rights & Permissions department, please visit www.pearson.com/permissions. If this guide is distributed with software that includes an end user license agreement, this guide, as well as the software described in it, is furnished under license and may be used or copied only in accordance with the terms of such license. Except as permitted by any such license, no part of this guide may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means, electronic, mechanical, recording, or otherwise, without the prior written permission of Adobe. Please note that the content in this guide is protected under copyright law even if it is not distributed with software that includes an end user license agreement. The content of this guide is furnished for informational use only, is subject to change without notice, and should not be construed as a commitment by Adobe. Adobe assumes no responsibility or liability for any errors or inaccuracies that may appear in the informa- tional content contained in this guide. Please remember that existing artwork or images that you may want to include in your project may be protected under copyright law.
    [Show full text]
  • HTML Editor Help August 2009
    HTML Editor Help August 2009 Got questions about the features in HTML Editor? Want to check out some helpful tutorials to get you up to speed on using the program? You’ve come to the right place! Program Overview Learn about the tools and features available within the program. Tutorials Step‐by‐step instructions for the most commonly used features of the program. Frequently Asked Questions Got a question about the software? Find your answer here. CoffeeCup Information Learn more about CoffeeCup and review all the legal gobbledygook. Still Can’t Find Your Answer? Visit our user forums (http://www.coffeecup.com/forums/), check out the articles and video tutorials in our online Knowledgebase (http://www.coffeecup.com/html‐editor/help/) or contact our fabulous tech support team (http://www.coffeecup.com/help/)! 1 Program Overview Learn about the tools and features available within the program. • What is the HTML Editor? • How to use this manual • What’s new • System requirements • Installing the software • Opening the program • Menu bar • Toolbar • Code Editor • Visual Editor • Preview tab • Statusbar • Resource browser . My Websites tab . My Computer tab . Code Snippets tab . Tags tab . Characters tab 2 Tutorials Step‐by‐step instructions for the most commonly used features of the program. Creating and Modifying Your Pages • Working with Website Projects • Creating a new Webpage • Adding an image to your page • How to change the appearance of text • Working with links o Absolute vs. relative links o Adding a link to your page o Adding an
    [Show full text]
  • Summary of UNIX Commands Furnishing, Performance, Or the Use of These Previewers Commands Or the Associated Descriptions Available on Most UNIX Systems
    S u mmary of UNIX Commands- version 3.2 Disclaimer 8. Usnet news 9. File transfer and remote access Summary of UNIX The author and publisher make no warranty of any 10. X window kind, expressed or implied, including the warranties of 11. Graph, Plot, Image processing tools commands merchantability or fitness for a particular purpose, with regard to the use of commands contained in this 12. Information systems 1994,1995,1996 Budi Rahardjo reference card. This reference card is provided “as is”. 13. Networking programs <[email protected]> The author and publisher shall not be liable for 14. Programming tools damage in connection with, or arising out of the 15. Text processors, typesetters, and This is a summary of UNIX commands furnishing, performance, or the use of these previewers commands or the associated descriptions available on most UNIX systems. 16. Wordprocessors Depending on the configuration, some of 17. Spreadsheets the commands may be unavailable on your Conventions 18. Databases site. These commands may be a 1. Directory and file commands commercial program, freeware or public bold domain program that must be installed represents program name separately, or probably just not in your bdf search path. Check your local dirname display disk space (HP-UX). See documentation or manual pages for more represents directory name as an also df. details (e.g. man programname). argument cat filename This reference card, obviously, cannot filename display the content of file filename describe all UNIX commands in details, but represents file name as an instead I picked commands that are useful argument cd [dirname] and interesting from a user’s point of view.
    [Show full text]
  • Mozilla Development Roadmap
    mozilla development roadmap Brendan Eich, David Hyatt table of contents • introduction • milestone schedule • about ownership... • a new • current release • what all this does not roadmap status mean • discussion • how you can help • application architecture • summary • project • to-do list rationale management introduction Welcome to the Mozilla development roadmap. This is the third major roadmap revision, with a notable recent change to the status of the integrated Mozilla application suite, since the original roadmap that set Mozilla on a new course for standards compliance, modularity, and portability in 1998. The previous roadmap documented milestones and rules of development through Mozilla 1.3, and contains links to older roadmaps. Most of this document reflects the new application architecture proposal made last year. The effort resulting from that proposal has finally borne fruit, or to mix metaphors, hatched new application creatures: Firefox and Thunderbird. The new, significant roadmap update hoped for early in 2004 has been postponed. See Brendan's roadmap blog for thoughts that may feed into it. An interim roadmap update focused on the "aviary 1.0" 1 From www.mozilla.org/roadmap.html 4 August 2004 releases of Firefox 1.0 and Thunderbird 1.0, and the 1.8 milestone that will follow, is coming soon. We have come a long way. We have achieved a Mozilla 1.0 milestone that satisfies the criteria put forth in the Mozilla 1.0 manifesto, giving the community and the wider world a high-quality release, and a stable branch for conservative development and derivative product releases. See the Mozilla Hall of Fame for a list of Mozilla-based projects and products that benefited from 1.0.
    [Show full text]
  • A CMS Basics Reference – for University of Houston Websites
    A CMS Basics Reference – For University of Houston Websites Cascade CMS version 8 A CMS Basics Training Reference – University of Houston CASCADE CMS BASICS TRAINING REFERENCE TABLE OF CONTENTS Introduction -------------------------------------------------------------------------- p. 1 What is the CMS? System Requirements; Getting Started; The CMS 'Home' or 'Dashboard' View -------------------------------------- p. 2 General Notes About Working in the Cascade CMS ------------------ p. 2 signout; settings; appearance of asset links setting; notifications and tasks (mentioned) Finding Your Area's Site and Content -------------------------------------- p. 3 Where is it in the CMS? site selector; return to dashboard/home; sign-out; widgets; note about being "inside" and "outside" of your Site(s) – Site Content area vs. User areas; The Cascade Menu Bar ---------------------------------------------------------- p. 4 general overview of areas - what actions reside under what buttons; Site Content area; Viewing your site materials ---------------------------------------------------- p. 5–6 folders, pages, and files - the asset tree; expanding the asset tree; selecting a folder as active asset; introducing the right-hand-panel information/action/editing options; the folder contents list; the folder contents thumbnail/icon view; view number, view all selector; Important Editing Tips ----------------------------------------------------------- p. 7 selecting material correctly for editing tools to work correctly; active asset editing options vs.
    [Show full text]