Introduction to HTML EVALUATION COPY. (HTM101 version 3.1.5) Copyright Information. Copyright 2013 Webucator. All rights reserved.

Size: px
Start display at page:

Download "Introduction to HTML EVALUATION COPY. (HTM101 version 3.1.5) Copyright Information. Copyright 2013 Webucator. All rights reserved."

Transcription

1 Introduction to HTML (HTM101 version 3.1.5) Copyright Information Copyright 2013 Webucator. All rights reserved. The Author Nat Dunn Nat Dunn founded Webucator in 2003 to combine his passion for web development with his business expertise and to help companies benefit from both. Nat began programming games in Basic on a TRS-80 at age 14. He has been developing websites and providing web development training since Accompanying Class Files This manual comes with accompanying class files, which your instructor or sales representative will point out to you. Most code samples and exercise and solution files found in the manual can also be found in the class files at the locations indicated at the top of the code listings. Due to space limitations, the code listings sometimes have line wrapping, where no line wrapping occurs in the actual code sample. This is indicated in the manual using three greater than signs: >>> at the beginning of each wrapped line. In other cases, the space limitations are such that we have inserted a forced line break in the middle of a word. When this occurs, we append the following symbol at the end of the line before the actual break:»»

2

3 Table of Contents Table of Contents 1. A Quick Overview of Web Development...1 Client-side Programming...1 HTML...1 Cascading Style Sheets...1 JavaScript...1 Dynamic HTML...1 Ajax...1 Adobe Flash...2 Server-side Programming...2 Perl...2 ColdFusion...2 Active Server Pages...3 Java EE...3 ASP.NET...3 PHP...4 Ruby on Rails Introduction to HTML...5 Getting Started...5 Exercise 1: A Simple HTML Document...6 The HTML Skeleton...9 The <head> Element...9 The <body> Element...9 Whitespace...9 HTML Elements...10 Attributes...11 Empty vs. Container Tags...11 Blocks and Inline Elements...11 Comments...12 Special Characters...12 The HTML/XHTML Version...13 DOCTYPE Declarations...13 Closing Tags...15 Case Sensitivity...15 Quotes...15 Nesting...16 Some XML Stuff...16 HTML lang and xml:lang...17 Version: Printed: i

4 Table of Contents 3. Paragraphs, Headings and Text...19 Paragraphs...19 Breaks and Horizontal Rules...23 Exercise 2: Creating an HTML Page...25 Quoted Text...28 Preformatted Text...29 Phrase Elements...31 HTML 4 Formatting Elements...32 Documenting Changes HTML Links...37 Text Links...37 Absolute vs. Relative Paths...38 Absolute Paths...38 Relative Paths...39 Default Pages...39 Targeting New Windows Links...40 Exercise 3: Adding Links...41 Anchors...44 Anchors with the name Attribute...44 Anchors with the id Attribute...46 name vs. id...46 The title Attribute HTML Images...49 Inserting Images...49 Making Images Accessible...50 Alternative Text...50 Long Descriptions...51 Height and Width Attributes...51 Image Links...52 Exercise 4: Adding Images to the Page HTML Lists...57 Unordered Lists...57 Nesting Unordered Lists...58 Ordered Lists...62 Nesting Ordered Lists...63 Start Attribute...65 Definition Lists...66 Exercise 5: Creating Lists...69 ii Copyright 2013 Webucator. All rights reserved.

5 Table of Contents 7. HTML Tables...77 Creating Tables...77 Adding a Caption...78 Attributes...79 Merging Cells...82 Exercise 6: Creating Tables HTML Forms...89 How HTML Forms Work...89 The <form> Tag...90 Get vs. Post...90 Form Elements...92 id and Name Attributes...92 Labels...92 Text Fields...93 Password Fields...93 Submit and Reset Buttons...94 Hidden Fields...94 Exercise 7: Creating a Registration Form...96 Checkboxes...99 Radio Buttons...99 Exercise 8: Adding Checkboxes and Radio Buttons Select Menus Textareas Exercise 9: Adding a Select Menu and a Textarea Version: Printed: iii

6 Table of Contents 9. Crash Course in CSS Benefits of Cascading Style Sheets CSS Rules CSS Comments Selectors Type Selectors Descendant Selectors Child Selectors Class Selectors ID Selectors Attribute Selectors The Universal Selector Grouping Precedence of Selectors Determining a Selector's Specificity The Cascade Embedded Style Sheets Exercise 10: Creating an Embedded Style Sheet External Style Sheets Exercise 11: Creating an External Style Sheet Inline Styles Exercise 12: Adding Inline Styles Media Types <div> and <span> Exercise 13: Divs and Spans Units of Measurement Pixels (px) Points (pt) Inches (in), Centimeters (cm), and Millimeters (mm) Picas (pc) Ems (em) Exs (ex) The Inherit Appendix 1. HTML Formatting Simple Formatting Tags The <font> Tag size color face <basefont> Exercise 14: Adding Formatting to the Page Applying Colors to the Page Aligning Text The <center> Tag The align Attribute Exercise 15: Applying Color and Aligning Text iv Copyright 2013 Webucator. All rights reserved.

7 A Quick Overview of Web Development 1. A Quick Overview of Web Development 1.1 In this lesson, you will learn About client-side web development languages. 2. About server-side web development languages. Web development involves a combination of client-side programming and server-side programming. Client-side Programming Client-side programming involves writing code that is interpreted by a browser such as Internet Explorer or Mozilla Firefox or by any other web client such as a cell phone. The most common languages and technologies used in client-side programming are HTML, JavaScript, Cascading Style Sheets (CSS), and Adobe Flash. HTML HyperText Markup Language (HTML) is the language behind most web pages. The language is made up of elements that describe the structure and format of the content on a web page. Cascading Style Sheets Cascading Style Sheets (CSS) is used in HTML pages to separate formatting and layout from content. Rules defining color, size, positioning and other display aspects of elements are defined in the HTML page or in linked CSS pages. JavaScript 1 JavaScript is used to make HTML pages more dynamic and interactive. It can be used to validate forms, pop up new windows, and create dynamic effects such as dropdown menus and image rollovers. Dynamic HTML Dynamic HTML is not a language in and of itself, but rather refers to code that uses JavaScript to manipulate CSS properties on the fly. 1. The word "JavaScript" is a proprietary name for Netscape's version of ECMAScript. Microsoft's version of this language is called JScript. Version: Printed: Page 1 of 159

8 A Quick Overview of Web Development Ajax The term Ajax was originally a pseudo-acronym for "Asynchronous JavaScript And XML," 2 but is now used much more broadly to cover all methods of communicating with a server using JavaScript. The main purpose of Ajax is to provide a simple and standard means for a web page to communicate with the server without a complete page refresh. Adobe Flash At the time of this writing, according to Adobe's website, more than 97% of computers connected to the internet have Flash Player installed. The Flash Player is a plug-in to Internet Explorer and other web browsers. It enables browsers to display dynamic graphical web pages that can be visually more fluid than pages that are built with Dynamic HTML. Flash pages are called movies and they are created using special software (also called Flash). ActionScript, a language similar to JavaScript, is used to manipulate Flash objects to make movies more interactive. At the time of this writing, designers are either moving to JavaScript or converting existing Flash videos to HTML5. However, converting is a challenge because not all features of Flash can be converted. Tools to solve this issue are currently being introduced by Adobe (with Wallaby) and Google (with Swiffy) and others. 1.2 Server-side Programming Server-side programming involves writing code that connects web pages with databases, XML pages, servers, file systems and other systems and software accessible from the web server. The most common server-side languages and programming frameworks are Perl, ColdFusion, Active Server Pages, Java (in many flavors), ASP.NET and PHP. Perl Perl was the first server-side language to become popular in web development. Originally derived from C, its relative simplicity and strengths in file and text manipulation and the fact that it is open source made it a good choice for writing CGI scripts. Although Perl is still widely used, it is not as popular a choice for new web projects as some of the other server-side languages discussed below. 2. Ajax: A New Approach to Web Applications - Page 2 of 159 Copyright 2013 Webucator. All rights reserved.

9 ColdFusion ColdFusion, created by Allaire (now owned by Adobe), is arguably the simplest of all server-side languages. It is tag-based, which makes it look a lot like HTML and easier for client-side programmers to understand than some of the other choices. Because of the relative ease with which it is written, ColdFusion is sometimes assumed not to be so powerful. In fact, ColdFusion code is compiled to Java bytecode, which means the pages run quickly. Web developers can accomplish virtually any required task using the ColdFusion Markup Language (CFML). However, as ColdFusion can easily be integrated with Java applications, developers have the choice of using Java to extend ColdFusion applications. Active Server Pages Microsoft Active Server Pages (ASP) is a framework that allows developers to write server-side pages in many scripting languages; however, VBScript and JScript are the only commonly used choices. ASP became popular quickly and sites with pages ending in.asp are now all over the web. It is not as simple as ColdFusion, but it has the huge advantage of being built in to Microsoft Internet Information Server (IIS). Although still commonly used, ASP has been replaced by Microsoft with ASP.NET, an architecture that is much more similar to Java's than to traditional ASP's. Java EE Java EE is used in large web projects. With its power and robustness comes a steep learning curve. Java EE is defined by its specification ( cle.com/javaee/) and API ( A Java Application Server (Java AS) manages servlets, JavaServer Pages (JSP), Web Services, and Enterprise JavaBeans (EJB). Java EE also includes a number of other APIs commonly linked to enterprise application development. JDBC, JPA, , JMS, and XML are some examples. But that's only part of the picture. There are a number of frameworks built on some of these technologies that streamlines the development process further. Hibernate offers most of the object/relational mapping (ORM) without an EJB Container. For this reason it's called a lightweight ORM technology. JavaServer Faces, Struts, and Spring-MVC build on JSP to do away with scriptlets completely, relying on HTML style tags and associated JavaBeans. ASP.NET A Quick Overview of Web Development Microsoft's ASP.NET is not a language, but a framework for writing websites and software. Like ColdFusion and JSP (and unlike traditional ASP) ASP.NET pages are precompiled, so they run faster than traditional ASP pages do. ASP.NET pages Version: Printed: Page 3 of 159

10 A Quick Overview of Web Development can be written in many languages, but the most popular are C# (pronounced C-sharp) and Visual Basic.NET (VB.NET). PHP Like Perl, PHP is open source. It has rapidly become a popular alternative to the proprietary languages such as ColdFusion and ASP.NET. PHP is lightweight, relatively simple to learn and runs on almost all commonly used web servers. A nice feature is that it can be integrated with both Java and COM. Ruby on Rails Wikipedia describes Ruby on Rails as "a web application framework that aims to increase the speed and ease with which database-driven websites can be created and offers skeleton code frameworks (scaffolding) from the outset. Often shortened to Rails, or RoR, Ruby On Rails is an open source project written in the Ruby programming language and applications using the Rails framework are developed using the Model-View-Controller design pattern." Conclusion This lesson has provided a general overview of the different languages and frameworks commonly used in web development Page 4 of 159 Copyright 2013 Webucator. All rights reserved.

11 Introduction to HTML 2. Introduction to HTML In this lesson, you will learn To create a simple HTML page. 2. About HTML elements and attributes. 3. The difference between HTML and XHTML. 4. To create the skeleton of an HTML document. 5. About whitespace and HTML. 6. To output special characters in HTML. 7. How the introduction of HTML5 has affected HTML development. HyperText Markup Language (HTML) is the language behind most Web pages. The language is made up of elements that describe the structure and format of the content on a Web page. HTML is maintained by the World Wide Web Consortium (W3C). As of this writing, the latest versions are HTML 4.01 and XHTML 1.0. See and for the specifications. In this lesson, we will address the differences between HTML and XHTML and discuss the effect of HTML Getting Started We'll begin with a simple exercise. Version: Printed: Page 5 of 159

12 Introduction to HTML Exercise 1 5 to 15 minutes A Simple HTML Document In this exercise, you will create your first HTML document by simply copying the text shown below. The purpose is to give you some sense of the structure of an HTML document. 1. Open a simple text editor such as Notepad and create a new file. Do not use an HTML editor for this exercise. 2. Save the file as HelloWorld.html in the HTMLBasics/Exercises folder. 3. Type the following exactly as shown: <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>hello world!</title> </head> <body> Hello world! </body> </html> 4. Save the file again and then open it in your browser by navigating to the file in your folder system and double-clicking on it. The page should appear as follows: Page 6 of 159 Copyright 2013 Webucator. All rights reserved.

13 Introduction to HTML Version: Printed: Page 7 of 159

14 Introduction to HTML Exercise Solution HTMLBasics/Solutions/HelloWorld.html <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>hello world!</title> </head> <body> Hello world! </body> </html> Page 8 of 159 Copyright 2013 Webucator. All rights reserved.

15 Introduction to HTML 2.2 The HTML Skeleton Code Sample At its simplest, an HTML page contains what can be thought of as a skeleton - the main structure of the page. It looks like this: HTMLBasics/Demos/Skeleton.html <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title></title> </head> <body> <!--Content that appears on the page--> </body> </html> The <head> Element The <head> element contains content that is not displayed on the page itself. Some of the elements commonly found in the <head> are: Title of the page (<title>). Browsers typically show the title in the "title bar" at the top of the browser window. Meta tags, which contain descriptive information about the page (<meta>). Script blocks, which contain javascript or vbscript code for adding functionality and interactivity to a page (<script>). Style blocks, which contain Cascading Style Sheet rules (<style>). References (or links) to external style sheets (<link>). The <body> Element The <body> element contains all of the content that appears on the page itself. Body tags will be covered thoroughly throughout this manual. Whitespace Extra whitespace is ignored in HTML. This means that all hard returns, tabs and multiple spaces are condensed into a single space for display purposes. Version: Printed: Page 9 of 159

16 Introduction to HTML Code Sample HTMLBasics/Demos/Whitespace.html <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>whitespace Example</title> </head> <body> This is a sentence on a single line. This is a sentence with extra whitespace throughout. </body> </html> Code Explanation The two sentences in the code above will be rendered in exactly the same way. 2.3 HTML Elements HTML elements describe the structure and content of a Web page. Tags are used to indicate the beginning and end of elements. The syntax is as follows: Page 10 of 159 Copyright 2013 Webucator. All rights reserved.

17 Introduction to HTML <tagname>element content</tagname> Attributes Tags often have attributes for further defining the element. Attributes come in name-value pairs 4 Note that attributes only appear in the open tag, like so: <tagname att1="value" att2="value">element content</tagname> The order of attributes is not important. Empty vs. Container Tags The tags shown above are called container tags because they have both an open and close tag with content contained between them. Tags that do not contain content are called empty tags. The syntax is as follows: <tagname> or <tagname att1="value" att2="value"> Blocks and Inline Elements Block-level Elements Block elements are elements that separate a block of content. For example, a paragraph (<p>) element is a block element. Other block elements include: Lists (<ul> and <ol>) Tables (<table>) Forms (<form>) Divs (<div>) 4. In HTML (without the X) some tags have attributes that don't take a value, like so: <tagname att1>element content</tagname> This is not allowed in XHTML. Version: Printed: Page 11 of 159

18 Introduction to HTML Inline Elements Inline elements are elements that affect only snippets of content and do not block off a section of a page. Examples of inline elements include: Links (<a>) Images (<img>) Formatting tags (<b>, <i>, <tt>, etc.) 5 Phrase elements (<em>, <strong>, <code>, etc.) Spans (<span>) Comments Comments are generally used for one of three purposes. 1. To write helpful notes about the code; for example, why something is written in a specific way. 2. To comment out some code that is not currently needed, but may be used sometime in the future. 3. To debug a page. HTML comments are enclosed in <!-- and -->. For example: <!-- This is an HTML comment --> 2.4 Special Characters Special characters (i.e, characters that do not show up on your keyboard) can be added to HTML pages using entity names and numbers. For example, a copyright 5. Many formatting tags have been deprecated in HTML 4.0 and XHTML 1.0. Although the ones listed here are not deprecated, their use is discouraged as the same effect can be accomplished with CSS. Page 12 of 159 Copyright 2013 Webucator. All rights reserved.

19 Introduction to HTML symbol ( ) can be added using or. The following table shows some of the more common character references. 2.5 The HTML/XHTML Version XHTML 1.0 and HTML 4.0 consist of the same sets of elements. (HTML5 introduces some new elements, but those are not covered in this course.) The only difference between HTML and XHTML is that HTML is fairly flexible; whereas, XHTML has strict rules. 6 DOCTYPE Declarations The DOCTYPE declaration goes at the beginning of the document and is used to indicate which version of (X)HTML the page uses. There are three versions of 6. HTML is a SGML-based; whereas XHTML is XML-based. XML and SGML are both meta-languages (languages for defining other languages). XML applies stricter rules than SGML does. Version: Printed: Page 13 of 159

20 Introduction to HTML (X)HTML documents: strict, frameset and transitional (loose). In HTML, the DOCTYPE declaration is optional. In XHTML, it is required. All this DOCTYPE stuff used to be really important and is explained below, but with the introduction of HTML5, there is an easy way out, which we highly recommend as it is both simpler and forward-compatible. Instead of worrying about the complicated DOCTYPEs explained below, simply use the new HTML5 DOCTYPE: <!DOCTYPE HTML> This DOCTYPE is, believe it or not, completely backward compatible and will make all browsers work in "standards mode." As many web pages will still use the old DOCTYPEs, they are worth understanding and are explained below. Strict The strict versions of HTML and XHTML do not allow use of tags and attributes that have been deprecated. 7 The strict versions do not support framesets. XHTML Strict <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" " HTML Strict <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" " Transitional (Loose) The transitional (or loose) versions of HTML and XHTML allow for the use of deprecated tags and attributes. The transitional versions also do not support framesets. 7. Deprecated tags are tags that the W3C has indicated may eventually be removed from the specification because of new and better ways of accomplishing the same thing. Most of these tags are for formatting; the W3C recommends using Cascading Style Sheets instead. See for a list of deprecated tags. Page 14 of 159 Copyright 2013 Webucator. All rights reserved.

21 Introduction to HTML XHTML Transitional <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " HTML Transitional <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" " Frameset The frameset versions of HTML and XHTML are the same as the transitional versions, except that they also support frames. XHTML Frameset <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" " HTML Frameset <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" " Closing Tags HTML 4.0 allows some closing tags to be omitted. For example, in HTML, list item (<li>) tags do not require a matching close tag (</li>). In XHTML, all tags must be closed. Empty tags are closed by adding a forward slash before the final angle bracket of the tag: <tagname att1="value" att2="value" /> Note the space before the forward slash. Though this is not required by XHTML, it may help older browsers from getting confused. In HTML 4.0, the forward slash is not required: <tagname att1="value" att2="value"> Case Sensitivity In HTML, case is not important. In XHTML, all tags and attributes must be in lowercase letters. Version: Printed: Page 15 of 159

22 Introduction to HTML Quotes In HTML, attribute values do not always have to be in quotes; whereas, in XHTML quotes are required. Either single quotes or double quotes may be used. Nesting In both HTML and XHTML, tags should be nested properly. Proper nesting requires nested tags to be closed in reverse order from which they were opened. Another way to say this is that each element must be completely contained by its parent element. For example, the following line of code uses improper nesting: <parent><child>sometext</parent></child> The corrected line looks like this: <parent><child>sometext</child></parent> Some XML Stuff The XML Declaration XHTML documents are, by definition, XML documents. This means that they follow the rules of XML. Although not required, it is good practice to include an XML declaration in your XHTML documents. If included, the XML declaration must be at the very beginning of the document. The XML declaration looks like this: <?xml version="1.0" encoding="utf-8"?> For best results, it is best to define the encoding in a meta tag as well. Note that you should include the following tag within the head tag: <meta http-equiv="content-type" content="text/html; charset=utf-8" /> The XHTML Namespace In XHTML documents, the html tag must contain an xmlns declaration for the XHTML namespace, which indicates that the document must conform to the rules defined in the XHTML namespace. The syntax is shown below: <html xmlns=" Page 16 of 159 Copyright 2013 Webucator. All rights reserved.

23 Introduction to HTML 2.6 HTML5 Although HTML5 is not fully supported by modern browsers, there are a couple of things you can start doing right now: 1. Use the new simpler DOCTYPE: <!DOCTYPE HTML> 2. Use this simpler meta tag to specify the character set: <meta charset="utf-8"> You can also safely avoid all the XHTML stuff, including the XML declaration and the XHTML namespace. This makes the opening of your HTML page simpler: <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> 2.7 lang and xml:lang The lang and xml:lang attributes are used to tell the browser (or other user agent) the language contained within an element. The W3C recommends that both lang and xml:lang be included in the html tag of all XHTML documents, like so: <html xmlns=" xml:lang="en" lang="en"> According to the W3C, these attributes may be helpful in: 8 Assisting search engines Assisting speech synthesizers Helping a user agent select glyph variants for high quality typography Helping a user agent choose a set of quotation marks Helping a user agent make decisions about hyphenation, ligatures, and spacing Assisting spell checkers and grammar checkers 2.8 Conclusion In this lesson, you have learned the basics of HTML. You should understand how an HTML page is structured, know the major differences between HTML and XHTML and understand the basic syntax of HTML tags Version: Printed: Page 17 of 159

24 Introduction to HTML Page 18 of 159 Copyright 2013 Webucator. All rights reserved.

25 HTML Images 5. HTML Images 5.1 Code Sample In this lesson, you will learn To add images to a website. 2. To create image links. 3. To make images accessible. Modern browsers generally support three types of images: GIFs, JPEGs, and PNGs. The PNG and GIF are generally used for simple images such as drawings; whereas the JPEG format is used for more complicated images such as photographs. Inserting Images Inserting images in web pages is done by placing an img tag in the HTML code. The <img> tag is an empty tag. Its src attribute is used to reference an image file using a relative or absolute path. The syntax is as follows. Syntax Images/Demos/Images.html <img src="path_to_image_file" alt="alternative text"> The following page shows how to use the <img> tag: <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>images</title> </head> <body> <h1>images</h1> <p><img src=" alt="logo"></p> <hr> <p><img src="images/pooh.jpg" alt="pooh Bear"></p> <hr> <p><img src="images/runnershome.gif" alt="runners Home"></p> </body> </html> Version: Printed: Page 49 of 159

26 HTML Images Code Explanation The page will render as follows: Making Images Accessible Alternative Text To add alternate text for an image, use the alt attribute. <img src="logo.gif" alt="logo"> Alternate text is displayed... When the user's browser does not support images. Page 50 of 159 Copyright 2013 Webucator. All rights reserved.

27 HTML Images Code Sample As the image is downloading. When the user hovers over the image with the mouse (in some browsers). Alternate text can also be used by screenreaders to describe an image for the visually impaired. Long Descriptions If an image depicts something complicated, such as a graph or chart, a long description of the image can be provided on a separate page. The longdesc attribute of the <img> tag is used to point to that description. For example: Images/Demos/LongDesc.html <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>long Description</title> </head> <body> <h1>long Description</h1> <p><img src="images/bigmac.jpg" alt="big Mac Nutrition Information" longdesc="bigmac.html"></p> </body> </html> Code Explanation The browsers don't do anything with the longdesc value, but modern screenreaders make use of it. Freedom Scientific, the makers of Jaws, one of the most popular screenreaders, say this about their support for longdesc: JAWS now supports the "Longdesc" attribute in HTML within Internet Explorer 5.x and 6. The "Longdesc" attribute allows a long description of graphics to be provided on a separate page. The "Longdesc" attribute contains the address of the descriptive page. After reading any Alt text for the graphic, JAWS announces there is a long description and the address of the page. Just press ENTER to open the page containing the long description in a new window Version: Printed: Page 51 of 159

28 HTML Images 5.2 Height and Width Attributes The img element also takes height and width attributes that set the dimensions (in pixels) to use to display the image on the page. It is not good practice to "resize" the image using these attributes. If you use these attributes, you should set the values to the actual height and width of the image. Using the height and width attributes lets the browser know how much space to allocate for the image without having to wait for the image itself to download. This may make for a smoother initial display of the page. <img src="logo.gif" alt="logo" height="100" width="300"> Image Links Creating image links is easy. Simply put an <a> tag around your image, like so... <a href="index.html" title="link to Home Page"><img src="images/lo»» go.gif"></a> By default, most browsers will place a one-pixel border around a linked image. 18 For examples of linked images, see Images/Demos/ImageLinks.html. 18. This border can be removed with CSS. Page 52 of 159 Copyright 2013 Webucator. All rights reserved.

29 Exercise 4 5 to 10 minutes Adding Images to the Page HTML Images In this exercise, you will add an image to index.html. The resulting page is shown below. 1. Open Images/Exercises/index.html for editing. 2. Add the image called RunnersHome.gif in the Images/Exercises/Images directory, so that the page appears as shown in the screenshot above. The alternative text should be "Runners Home Logo". There is no need for a long description. Version: Printed: Page 53 of 159

30 HTML Images Exercise Solution Images/Solutions/index.html <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>runners Home </title> </head> <body> <div> <a href="index.html">home</a> <a href="races.html">races</a> <a href="resources.html">resources</a> <a href="calculator.html">calculator</a> <a href="runninglog.html">running Log</a> <a href="myaccount.html">my Account</a> <a href="logout.html">log out</a> </div> <p>hello, Stranger!</p> <h1>welcome to Runners Home </h1> <p> <img src="images/runnershome.gif" alt="logo"><br> Runners Home is dedicated to providing you with:<br> <a href="races.html">the most up-to-date information on running races</a>.<br> <a href="resources.html">the best resources for runners</a>. </p> <hr> <p> 2011 Runners Home. All rights reserved. For questions, send to <a shome.com</a>.</p> </body> </html> Page 54 of 159 Copyright 2013 Webucator. All rights reserved.

31 HTML Images 5.3 Conclusion In this lesson you have learned to add images to a web page, to make those images accessible, and to create image links. Version: Printed: Page 55 of 159

32 HTML Images Page 56 of 159 Copyright 2013 Webucator. All rights reserved.

is Introduction to HTML

is Introduction to HTML or tri N s di IO n tio AT uc od pr re U ed AL riz ho ut na EV U n is i ib d tie PY oh pr O C io t bu Introduction to HTML (HTM101 version 4.1.0) Copyright Information Copyright 2017 Webucator. All rights

More information

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0

CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 WEB TECHNOLOGIES A COMPUTER SCIENCE PERSPECTIVE CHAPTER 2 MARKUP LANGUAGES: XHTML 1.0 Modified by Ahmed Sallam Based on original slides by Jeffrey C. Jackson reserved. 0-13-185603-0 HTML HELLO WORLD! Document

More information

HTML HTML. Chris Seddon CRS Enterprises Ltd 1

HTML HTML. Chris Seddon CRS Enterprises Ltd 1 Chris Seddon seddon-software@keme.co.uk 2000-12 CRS Enterprises Ltd 1 2000-12 CRS Enterprises Ltd 2 Reference Sites W3C W3C w3schools DevGuru Aptana GotAPI Dog http://www.w3.org/ http://www.w3schools.com

More information

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0

CSI 3140 WWW Structures, Techniques and Standards. Markup Languages: XHTML 1.0 CSI 3140 WWW Structures, Techniques and Standards Markup Languages: XHTML 1.0 HTML Hello World! Document Type Declaration Document Instance Guy-Vincent Jourdan :: CSI 3140 :: based on Jeffrey C. Jackson

More information

What is XHTML? XHTML is the language used to create and organize a web page:

What is XHTML? XHTML is the language used to create and organize a web page: XHTML Basics What is XHTML? XHTML is the language used to create and organize a web page: XHTML is newer than, but built upon, the original HTML (HyperText Markup Language) platform. XHTML has stricter

More information

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1 59313ftoc.qxd:WroxPro 3/22/08 2:31 PM Page xi Introduction xxiii Chapter 1: Creating Structured Documents 1 A Web of Structured Documents 1 Introducing XHTML 2 Core Elements and Attributes 9 The

More information

introduction to XHTML

introduction to XHTML introduction to XHTML XHTML stands for Extensible HyperText Markup Language and is based on HTML 4.0, incorporating XML. Due to this fusion the mark up language will remain compatible with existing browsers

More information

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT. Chapter 2:- Introduction to XHTML Compiled By:- Assistant Professor, SVBIT. Outline Introduction to XHTML Move to XHTML Meta tags Character entities Frames and frame sets Inside Browser What is XHTML?

More information

HTML Overview. With an emphasis on XHTML

HTML Overview. With an emphasis on XHTML HTML Overview With an emphasis on XHTML What is HTML? Stands for HyperText Markup Language A client-side technology (i.e. runs on a user s computer) HTML has a specific set of tags that allow: the structure

More information

Announcements. Paper due this Wednesday

Announcements. Paper due this Wednesday Announcements Paper due this Wednesday 1 Client and Server Client and server are two terms frequently used Client/Server Model Client/Server model when talking about software Client/Server model when talking

More information

Hypertext Markup Language, or HTML, is a markup

Hypertext Markup Language, or HTML, is a markup Introduction to HTML Hypertext Markup Language, or HTML, is a markup language that enables you to structure and display content such as text, images, and links in Web pages. HTML is a very fast and efficient

More information

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148

Index. alt, 38, 57 class, 86, 88, 101, 107 href, 24, 51, 57 id, 86 88, 98 overview, 37. src, 37, 57. backend, WordPress, 146, 148 Index Numbers & Symbols (angle brackets), in HTML, 47 : (colon), in CSS, 96 {} (curly brackets), in CSS, 75, 96. (dot), in CSS, 89, 102 # (hash mark), in CSS, 87 88, 99 % (percent) font size, in CSS,

More information

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space. HTML Summary Structure All of the following are containers. Structure Contains the entire web page. Contains information

More information

Fundamentals: Client/Server

Fundamentals: Client/Server Announcements Class Web Site: http://www.cs.umd.edu/projects/passport/classes/summer2008/ You can find this link at the end of the main passport site http://www.cs.umd.edu/projects/passport/webpage/ E-mail

More information

HTML Overview formerly a Quick Review

HTML Overview formerly a Quick Review HTML Overview formerly a Quick Review Outline HTML into Emergence of DHTML HTML History Evolution of Web 1.0 to Web 2.0 DHTML = HTML + JavaScript + CSS Key Set of HTML Tags Basic: a, html, head, body,

More information

Introduction to HTML5

Introduction to HTML5 Introduction to HTML5 History of HTML 1991 HTML first published 1995 1997 1999 2000 HTML 2.0 HTML 3.2 HTML 4.01 XHTML 1.0 After HTML 4.01 was released, focus shifted to XHTML and its stricter standards.

More information

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1 Introduction Chapter 1: Structuring Documents for the Web 1 A Web of Structured Documents 1 Introducing HTML and XHTML 2 Tags and Elements 4 Separating Heads from Bodies 5 Attributes Tell Us About Elements

More information

Programmazione Web a.a. 2017/2018 HTML5

Programmazione Web a.a. 2017/2018 HTML5 Programmazione Web a.a. 2017/2018 HTML5 PhD Ing.Antonino Raucea antonino.raucea@dieei.unict.it 1 Introduzione HTML HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text

More information

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes

Create web pages in HTML with a text editor, following the rules of XHTML syntax and using appropriate HTML tags Create a web page that includes CMPT 165 INTRODUCTION TO THE INTERNET AND THE WORLD WIDE WEB By Hassan S. Shavarani UNIT2: MARKUP AND HTML 1 IN THIS UNIT YOU WILL LEARN THE FOLLOWING Create web pages in HTML with a text editor, following

More information

Web Publishing Basics I

Web Publishing Basics I Web Publishing Basics I Jeff Pankin Information Services and Technology Contents Course Objectives... 2 Creating a Web Page with HTML... 3 What is Dreamweaver?... 3 What is HTML?... 3 What are the basic

More information

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts Web Development & Design Foundations with XHTML Chapter 2 Key Concepts Learning Outcomes In this chapter, you will learn about: XHTML syntax, tags, and document type definitions The anatomy of a web page

More information

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.: Internet publishing HTML (XHTML) language Petr Zámostný room: A-72a phone.: 4222 e-mail: petr.zamostny@vscht.cz Essential HTML components Element element example Start tag Element content End tag

More information

HTML: The Basics & Block Elements

HTML: The Basics & Block Elements HTML: The Basics & Block Elements CISC 282 September 13, 2017 What is HTML? Hypertext Markup Language Markup language "Set of words or symbols" Assigns properties to text Not actually part of the text

More information

Html basics Course Outline

Html basics Course Outline Html basics Course Outline Description Learn the essential skills you will need to create your web pages with HTML. Topics include: adding text any hyperlinks, images and backgrounds, lists, tables, and

More information

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style

Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style Session 3.1 Objectives Review the history and concepts of CSS Explore inline styles, embedded styles, and external style sheets Understand style precedence and style inheritance Understand the CSS use

More information

History of the Internet. The Internet - A Huge Virtual Network. Global Information Infrastructure. Client Server Network Connectivity

History of the Internet. The Internet - A Huge Virtual Network. Global Information Infrastructure. Client Server Network Connectivity History of the Internet It is desired to have a single network Interconnect LANs using WAN Technology Access any computer on a LAN remotely via WAN technology Department of Defense sponsors research ARPA

More information

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية

HTML. Mohammed Alhessi M.Sc. Geomatics Engineering. Internet GIS Technologies كلية اآلداب - قسم الجغرافيا نظم المعلومات الجغرافية HTML Mohammed Alhessi M.Sc. Geomatics Engineering Wednesday, February 18, 2015 Eng. Mohammed Alhessi 1 W3Schools Main Reference: http://www.w3schools.com/ 2 What is HTML? HTML is a markup language for

More information

FUNDAMENTALS OF WEB DESIGN (46)

FUNDAMENTALS OF WEB DESIGN (46) 8 Pages Contestant Number Time Rank FUNDAMENTALS OF WEB DESIGN (46) Regional 2010 Points Section Possible Awarded 20 Questions @ 5pts. 100 pts Application (Subj.) 100 pts TOTAL POINTS 200 pts Failure to

More information

How the Internet Works

How the Internet Works How the Internet Works The Internet is a network of millions of computers. Every computer on the Internet is connected to every other computer on the Internet through Internet Service Providers (ISPs).

More information

By Ryan Stevenson. Guidebook #2 HTML

By Ryan Stevenson. Guidebook #2 HTML By Ryan Stevenson Guidebook #2 HTML Table of Contents 1. HTML Terminology & Links 2. HTML Image Tags 3. HTML Lists 4. Text Styling 5. Inline & Block Elements 6. HTML Tables 7. HTML Forms HTML Terminology

More information

HTML TUTORIAL ONE. Understanding What XHTML is Not

HTML TUTORIAL ONE. Understanding What XHTML is Not HTML TUTORIAL ONE Defining Blended HTML, XHTML and CSS HTML: o Language used to create Web pages o Create code to describe structure of a Web page XHTM: o Variation of HTML o More strictly defines how

More information

HTML. Hypertext Markup Language. Code used to create web pages

HTML. Hypertext Markup Language. Code used to create web pages Chapter 4 Web 135 HTML Hypertext Markup Language Code used to create web pages HTML Tags Two angle brackets For example: calhoun High Tells web browser ho to display page contents Enter with

More information

Table of Contents. 1. A Quick Overview of Web Development...1 EVALUATION COPY

Table of Contents. 1. A Quick Overview of Web Development...1 EVALUATION COPY Table of Contents Table of Contents 1. A Quick Overview of Web Development...1 Client-side Programming...1 HTML...1 Cascading Style Sheets...1 JavaScript...1 Dynamic HTML...1 Ajax...1 Adobe Flash...2 Server-side

More information

XHTML & CSS CASCADING STYLE SHEETS

XHTML & CSS CASCADING STYLE SHEETS CASCADING STYLE SHEETS What is XHTML? XHTML stands for Extensible Hypertext Markup Language XHTML is aimed to replace HTML XHTML is almost identical to HTML 4.01 XHTML is a stricter and cleaner version

More information

Introduction to using HTML to design webpages

Introduction to using HTML to design webpages Introduction to using HTML to design webpages #HTML is the script that web pages are written in. It describes the content and structure of a web page so that a browser is able to interpret and render the

More information

Website Development with HTML5, CSS and Bootstrap

Website Development with HTML5, CSS and Bootstrap Contact Us 978.250.4983 Website Development with HTML5, CSS and Bootstrap Duration: 28 hours Prerequisites: Basic personal computer skills and basic Internet knowledge. Course Description: This hands on

More information

1.264 Lecture 12. HTML Introduction to FrontPage

1.264 Lecture 12. HTML Introduction to FrontPage 1.264 Lecture 12 HTML Introduction to FrontPage HTML Subset of Structured Generalized Markup Language (SGML), a document description language SGML is ISO standard Current version of HTML is version 4.01

More information

The figure below shows the Dreamweaver Interface.

The figure below shows the Dreamweaver Interface. Dreamweaver Interface Dreamweaver Interface In this section you will learn about the interface of Dreamweaver. You will also learn about the various panels and properties of Dreamweaver. The Macromedia

More information

A Brief Introduction to HTML

A Brief Introduction to HTML A P P E N D I X HTML SuMMAry J A Brief Introduction to HTML A web page is written in a language called HTML (Hypertext Markup Language). Like Java code, HTML code is made up of text that follows certain

More information

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web

HTML & CSS. SWE 432, Fall 2017 Design and Implementation of Software for the Web HTML & CSS SWE 432, Fall 2017 Design and Implementation of Software for the Web HTML: HyperText Markup Language LaToza Language for describing structure of a document Denotes hierarchy of elements What

More information

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application.

As we design and build out our HTML pages, there are some basics that we may follow for each page, site, and application. Extra notes - Client-side Design and Development Dr Nick Hayward HTML - Basics A brief introduction to some of the basics of HTML. Contents Intro element add some metadata define a base address

More information

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors.

HTML HTML/XHTML HTML / XHTML HTML HTML: XHTML: (extensible HTML) Loose syntax Few syntactic rules: not enforced by HTML processors. HTML HTML/XHTML HyperText Mark-up Language Basic language for WWW documents Format a web page s look, position graphics and multimedia elements Describe document structure and formatting Platform independent:

More information

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar Review of HTML Chapter 3 Fundamentals of Web Development 2017 Pearson Fundamentals of Web Development http://www.funwebdev.com - 2 nd Ed. What Is HTML and Where Did It Come from? HTML HTML is defined as

More information

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions Text and Layout Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11 This presentation 344 345 Text in Graphics Maximum flexibility obtained by treating text as graphics and manipulating

More information

Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION

Tutorial 1 Getting Started with HTML5. HTML, CSS, and Dynamic HTML 5 TH EDITION Tutorial 1 Getting Started with HTML5 HTML, CSS, and Dynamic HTML 5 TH EDITION Objectives Explore the history of the Internet, the Web, and HTML Compare the different versions of HTML Study the syntax

More information

CIS 228 (Fall 2011) Exam 1, 9/27/11

CIS 228 (Fall 2011) Exam 1, 9/27/11 CIS 228 (Fall 2011) Exam 1, 9/27/11 Name (sign) Name (print) email Question Score 1 12 2 12 3 12 4 12 5 12 6 12 7 12 8 16 TOTAL 100 CIS 228, exam 1 1 09/27/11 Question 1 True or false: _F_ A Cascading

More information

Module 2 (III): XHTML

Module 2 (III): XHTML INTERNET & WEB APPLICATION DEVELOPMENT SWE 444 Fall Semester 2008-2009 (081) Module 2 (III): XHTML Dr. El-Sayed El-Alfy Computer Science Department King Fahd University of Petroleum and Minerals alfy@kfupm.edu.sa

More information

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014 1/6/2019 12:28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014 CATALOG INFORMATION Dept and Nbr: CS 50A Title: WEB DEVELOPMENT 1 Full Title: Web Development 1 Last Reviewed:

More information

CS WEB TECHNOLOGY

CS WEB TECHNOLOGY CS1019 - WEB TECHNOLOGY UNIT 1 INTRODUCTION 9 Internet Principles Basic Web Concepts Client/Server model retrieving data from Internet HTM and Scripting Languages Standard Generalized Mark up languages

More information

Motivation (WWW) Markup Languages (defined). 7/15/2012. CISC1600-SummerII2012-Raphael-lec2 1. Agenda

Motivation (WWW) Markup Languages (defined). 7/15/2012. CISC1600-SummerII2012-Raphael-lec2 1. Agenda CISC 1600 Introduction to Multi-media Computing Agenda Email Address: Course Page: Class Hours: Summer Session II 2012 Instructor : J. Raphael raphael@sci.brooklyn.cuny.edu http://www.sci.brooklyn.cuny.edu/~raphael/cisc1600.html

More information

CMT111-01/M1: HTML & Dreamweaver. Creating an HTML Document

CMT111-01/M1: HTML & Dreamweaver. Creating an HTML Document CMT111-01/M1: HTML & Dreamweaver Bunker Hill Community College Spring 2011 Instructor: Lawrence G. Piper Creating an HTML Document 24 January 2011 Goals for Today Be sure we have essential tools text editor

More information

Chapter 1 Introduction to HTML, XHTML, and CSS

Chapter 1 Introduction to HTML, XHTML, and CSS Chapter 1 Introduction to HTML, XHTML, and CSS MULTIPLE CHOICE 1. The world s largest network is. a. the Internet c. Newsnet b. the World Wide Web d. both A and B A PTS: 1 REF: HTML 2 2. ISPs utilize data

More information

LING 408/508: Computational Techniques for Linguists. Lecture 14

LING 408/508: Computational Techniques for Linguists. Lecture 14 LING 408/508: Computational Techniques for Linguists Lecture 14 Administrivia Homework 5 has been graded Last Time: Browsers are powerful Who that John knows does he not like? html + javascript + SVG Client-side

More information

HTML CS 4640 Programming Languages for Web Applications

HTML CS 4640 Programming Languages for Web Applications HTML CS 4640 Programming Languages for Web Applications 1 Anatomy of (Basic) Website Your content + HTML + CSS = Your website structure presentation A website is a way to present your content to the world,

More information

Creating Web Pages with HTML-Level III Tutorials HTML 6.01

Creating Web Pages with HTML-Level III Tutorials HTML 6.01 Creating Web Pages with HTML-Levell Tutorials HTML 1.01 Tutorial 1 Developing a Basic Web Page Create a Web Page for Stephen DuM's Chemistry Classes Tutorial 2 Adding Hypertext Links to a Web Page Developing

More information

11. HTML5 and Future Web Application

11. HTML5 and Future Web Application 11. HTML5 and Future Web Application 1. Where to learn? http://www.w3schools.com/html/html5_intro.asp 2. Where to start: http://www.w3schools.com/html/html_intro.asp 3. easy to start with an example code

More information

INTRODUCTION TO WEB USING HTML What is HTML?

INTRODUCTION TO WEB USING HTML What is HTML? Geoinformation and Sectoral Statistics Section (GiSS) INTRODUCTION TO WEB USING HTML What is HTML? HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text Markup Language

More information

Introduction to the Internet and World Wide Web p. 1 The Evolution of the Internet p. 2 The Internet, Intranets, and Extranets p. 3 The Evolution of

Introduction to the Internet and World Wide Web p. 1 The Evolution of the Internet p. 2 The Internet, Intranets, and Extranets p. 3 The Evolution of Introduction to the Internet and World Wide Web p. 1 The Evolution of the Internet p. 2 The Internet, Intranets, and Extranets p. 3 The Evolution of the World Wide Web p. 3 Internet Standards and Coordination

More information

Table Basics. The structure of an table

Table Basics. The structure of an table TABLE -FRAMESET Table Basics A table is a grid of rows and columns that intersect to form cells. Two different types of cells exist: Table cell that contains data, is created with the A cell that

More information

Create a cool image gallery using CSS visibility and positioning property

Create a cool image gallery using CSS visibility and positioning property GRC 275 A8 Create a cool image gallery using CSS visibility and positioning property 1. Create a cool image gallery, having thumbnails which when moused over display larger images 2. Gallery must provide

More information

Duke Library Website Preliminary Accessibility Assessment

Duke Library Website Preliminary Accessibility Assessment Duke Library Website Preliminary Accessibility Assessment RAW OUTPUT FROM CYNTHIASAYS December 15, 2011 Michael Daul, Digital Projects Developer Digital Experience Services HiSoftware Cynthia Says - Web

More information

Designing and Developing a Website. December Sample Exam Marking Scheme

Designing and Developing a Website. December Sample Exam Marking Scheme Designing and Developing a Website December 2015 Sample Exam Marking Scheme This marking scheme has been prepared as a guide only to markers. This is not a set of model answers, or the exclusive answers

More information

HTML and CSS COURSE SYLLABUS

HTML and CSS COURSE SYLLABUS HTML and CSS COURSE SYLLABUS Overview: HTML and CSS go hand in hand for developing flexible, attractively and user friendly websites. HTML (Hyper Text Markup Language) is used to show content on the page

More information

Web Site Development with HTML/JavaScrip

Web Site Development with HTML/JavaScrip Hands-On Web Site Development with HTML/JavaScrip Course Description This Hands-On Web programming course provides a thorough introduction to implementing a full-featured Web site on the Internet or corporate

More information

Introduction to Web Technologies

Introduction to Web Technologies Introduction to Web Technologies James Curran and Tara Murphy 16th April, 2009 The Internet CGI Web services HTML and CSS 2 The Internet is a network of networks ˆ The Internet is the descendant of ARPANET

More information

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Make a Website A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1 Overview Course outcome: You'll build four simple websites using web

More information

Mobile MOUSe WEB SITE DESIGN ONLINE COURSE OUTLINE

Mobile MOUSe WEB SITE DESIGN ONLINE COURSE OUTLINE Mobile MOUSe WEB SITE DESIGN ONLINE COURSE OUTLINE COURSE TITLE WEB SITE DESIGN COURSE DURATION 19 Hours of Interactive Training COURSE OVERVIEW In this 7 session course Debbie will take you through the

More information

HTML & XHTML Tag Quick Reference

HTML & XHTML Tag Quick Reference HTML & XHTML Tag Quick Reference This reference notes some of the most commonly used HTML and XHTML tags. It is not, nor is it intended to be, a comprehensive list of available tags. Details regarding

More information

GRAPHIC WEB DESIGNER PROGRAM

GRAPHIC WEB DESIGNER PROGRAM NH128 HTML Level 1 24 Total Hours COURSE TITLE: HTML Level 1 COURSE OVERVIEW: This course introduces web designers to the nuts and bolts of HTML (HyperText Markup Language), the programming language used

More information

The [HTML] Element p. 61 The [HEAD] Element p. 62 The [TITLE] Element p. 63 The [BODY] Element p. 66 HTML Elements p. 66 Core Attributes p.

The [HTML] Element p. 61 The [HEAD] Element p. 62 The [TITLE] Element p. 63 The [BODY] Element p. 66 HTML Elements p. 66 Core Attributes p. Acknowledgments p. xix Preface p. xxi Web Basics Introduction to HTML p. 3 Basic HTML Concepts p. 4 HTML: A Structured Language p. 7 Overview of HTML Markup p. 11 Logical and Physical HTML p. 13 What HTML

More information

HYPERTEXT MARKUP LANGUAGE ( HTML )

HYPERTEXT MARKUP LANGUAGE ( HTML ) 1 HTML BASICS MARK-UP LANGUAGES Traditionally used to provide typesetting information to printers where text should be indented, margin sizes, bold text, special font sizes and styles, etc. Word processors

More information

Index. CSS directive, # (octothorpe), intrapage links, 26

Index. CSS directive, # (octothorpe), intrapage links, 26 Holzschlag_.qxd 3/30/05 9:23 AM Page 299 Symbols @import CSS directive, 114-115 # (octothorpe), intrapage links, 26 A a element, 23, 163, 228 abbr element, 228 absolute keywords for font sizing, 144 absolute

More information

ATSC Week 2 Web Authoring

ATSC Week 2 Web Authoring ATSC 212 - Week 2 Web Authoring Roland Stull rstull@eos.ubc.ca 1 Web Philosophy! Content is everything.! Style is nothing**. (**until recently)! Hypertext! Hot words or images can expand to give more info.

More information

HyperText Markup Language (HTML)

HyperText Markup Language (HTML) HyperText Markup Language (HTML) Mendel Rosenblum 1 Web Application Architecture Web Browser Web Server / Application server Storage System HTTP Internet LAN 2 Browser environment is different Traditional

More information

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal

COMSC-030 Web Site Development- Part 1. Part-Time Instructor: Joenil Mistal COMSC-030 Web Site Development- Part 1 Part-Time Instructor: Joenil Mistal Chapter 1 1 HTML and Web Page Basics Are you interested in building your own Web pages? This chapter introduces you to basic HTML

More information

Downloads: Google Chrome Browser (Free) - Adobe Brackets (Free) -

Downloads: Google Chrome Browser (Free) -   Adobe Brackets (Free) - Week One Tools The Basics: Windows - Notepad Mac - Text Edit Downloads: Google Chrome Browser (Free) - www.google.com/chrome/ Adobe Brackets (Free) - www.brackets.io Our work over the next 6 weeks will

More information

Full file at New Perspectives on HTML and CSS 6 th Edition Instructor s Manual 1 of 13. HTML and CSS

Full file at   New Perspectives on HTML and CSS 6 th Edition Instructor s Manual 1 of 13. HTML and CSS New Perspectives on HTML and CSS 6 th Edition Instructor s Manual 1 of 13 HTML and CSS Tutorial One: Getting Started with HTML 5 A Guide to this Instructor s Manual: We have designed this Instructor s

More information

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4 Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML 4.01 Version: 4.01 Transitional Hypertext Markup Language is the coding behind web publishing. In this tutorial, basic knowledge of HTML will be covered

More information

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS

NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS NEW WEBMASTER HTML & CSS FOR BEGINNERS COURSE SYNOPSIS LESSON 1 GETTING STARTED Before We Get Started; Pre requisites; The Notepad++ Text Editor; Download Chrome, Firefox, Opera, & Safari Browsers; The

More information

ver Wfl Adobe lif Sams Teach Yourself Betsy Bruce Robyn Ness SAMS 800 East 96th Street, Indianapolis, Indiana, USA WlM John Ray ^lg^

ver Wfl Adobe lif Sams Teach Yourself Betsy Bruce Robyn Ness SAMS 800 East 96th Street, Indianapolis, Indiana, USA WlM John Ray ^lg^ Betsy Bruce John Ray Robyn Ness Sams Teach Yourself Adobe Wfl lif ver W ^msssi^ mm WlM ^lg^ SAMS 800 East 96th Street, Indianapolis, Indiana, 46240 USA Table of Contents Introduction What Is Dreamweaver

More information

CS144 Notes: Web Standards

CS144 Notes: Web Standards CS144 Notes: Web Standards Basic interaction Example: http://www.youtube.com - Q: what is going on behind the scene? * Q: What entities are involved in this interaction? * Q: What is the role of each entity?

More information

Chapter 2 Creating and Editing a Web Page

Chapter 2 Creating and Editing a Web Page Chapter 2 Creating and Editing a Web Page MULTIPLE CHOICE 1. is a basic text editor installed with Windows that you can use for simple documents or for creating Web pages using HTML. a. Microsoft Word

More information

CSC 121 Computers and Scientific Thinking

CSC 121 Computers and Scientific Thinking CSC 121 Computers and Scientific Thinking Fall 2005 HTML and Web Pages 1 HTML & Web Pages recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language

More information

Attributes & Images 1 Create a new webpage

Attributes & Images 1 Create a new webpage Attributes & Images 1 Create a new webpage Open your test page. Use the Save as instructions from the last activity to save your test page as 4Attributes.html and make the following changes:

More information

Bridges To Computing

Bridges To Computing Bridges To Computing General Information: This document was created for use in the "Bridges to Computing" project of Brooklyn College. You are invited and encouraged to use this presentation to promote

More information

The Benefits of CSS. Less work: Change look of the whole site with one edit

The Benefits of CSS. Less work: Change look of the whole site with one edit 11 INTRODUCING CSS OVERVIEW The benefits of CSS Inheritance Understanding document structure Writing style rules Attaching styles to the HTML document The cascade The box model CSS units of measurement

More information

Understanding the Web Design Environment. Principles of Web Design, Third Edition

Understanding the Web Design Environment. Principles of Web Design, Third Edition Understanding the Web Design Environment Principles of Web Design, Third Edition HTML: Then and Now HTML is an application of the Standard Generalized Markup Language Intended to represent simple document

More information

Creating A Web Page. Computer Concepts I and II. Sue Norris

Creating A Web Page. Computer Concepts I and II. Sue Norris Creating A Web Page Computer Concepts I and II Sue Norris Agenda What is HTML HTML and XHTML Tags Required HTML and XHTML Tags Using Notepad to Create a Simple Web Page Viewing Your Web Page in a Browser

More information

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5 Name Date Final Exam Prep Questions Worksheet #1 1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5 2. Which of the following

More information

Advanced HTML Scripting WebGUI Users Conference

Advanced HTML Scripting WebGUI Users Conference Advanced HTML Scripting 2004 WebGUI Users Conference XHTML where did that x come from? XHTML =? Extensible Hypertext Markup Language Combination of HTML and XML More strict than HTML Things to Remember

More information

Scripting for Multimedia LECTURE 1: INTRODUCING HTML5

Scripting for Multimedia LECTURE 1: INTRODUCING HTML5 Scripting for Multimedia LECTURE 1: INTRODUCING HTML5 HTML An acronym for Hypertext Markup Language Basic language of WWW documents HTML documents consist of text, including tags that describe document

More information

Introduction to WEB PROGRAMMING

Introduction to WEB PROGRAMMING Introduction to WEB PROGRAMMING Web Languages: Overview HTML CSS JavaScript content structure look & feel transitions/animation s (CSS3) interaction animation server communication Full-Stack Web Frameworks

More information

Learning Objectives. Review html Learn to write a basic webpage in html Understand what the basic building blocks of html are

Learning Objectives. Review html Learn to write a basic webpage in html Understand what the basic building blocks of html are HTML CSCI311 Learning Objectives Review html Learn to write a basic webpage in html Understand what the basic building blocks of html are HTML: Hypertext Markup Language HTML5 is new standard that replaces

More information

HTML is a mark-up language, in that it specifies the roles the different parts of the document are to play.

HTML is a mark-up language, in that it specifies the roles the different parts of the document are to play. Introduction to HTML (5) HTML is a mark-up language, in that it specifies the roles the different parts of the document are to play. For example you may specify which section of a document is a top level

More information

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes

Lecture : 3. Practical : 2. Course Credit. Tutorial : 0. Total : 5. Course Learning Outcomes Course Title Course Code WEB DESIGNING TECHNOLOGIES DCE311 Lecture : 3 Course Credit Practical : Tutorial : 0 Total : 5 Course Learning Outcomes At end of the course, students will be able to: Understand

More information

Introduction to Dreamweaver CS4:

Introduction to Dreamweaver CS4: Introduction to Dreamweaver CS4: 1.0.0 published by Antall Training http://www.scottantall.com info@scottantall.com 440/623-3738 Copyright 2003-2009 Antall Training All Rights Reserved. No portion of this

More information

Anatomy of an HTML document

Anatomy of an HTML document Anatomy of an HTML document hello World hello World This is the DOCTYPE declaration.

More information

Dreamweaver Basics. Planning your website Organize site structure Plan site design & navigation Gather your assets

Dreamweaver Basics. Planning your website Organize site structure Plan site design & navigation Gather your assets Dreamweaver Basics Planning your website Organize site structure Plan site design & navigation Gather your assets Creating your website Dreamweaver workspace Define a site Create a web page Linking Manually

More information

Web Design and Development ACS Chapter 3. Document Setup

Web Design and Development ACS Chapter 3. Document Setup 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

More information