Unit 3 Day 5 FOCS – Web Design. Unit #3 Entry #3 What is the difference between an inline tag and a block tag? Give an example of both.

Slides:



Advertisements
Similar presentations
Microsoft® Office Word 2007 Training
Advertisements

Microsoft ® Office Word 2007 Training Table of Contents III: Use fields to create a TOC and create multiple TOCs Neeginan Institute of Applied Technology.
A complete citation, notecard, and outlining tool
KompoZer. This is what KompoZer will look like with a blank document open. As you can see, there are a lot of icons for beginning users. But don't be.
Html: getting started HTML is hyper text markup language. It is what web browsers look at on the Internet. HTML documents should be created in a simple.
Unit 3 Day 4 FOCS – Web Design. No Journal Entry.
Hypertext markup language.  Client asks for an html file  Server returns the html file  Client parses and displays it  This display is what most people.
Anne McGrath 16 th February  Review of what we have learned so far.  Angled brackets surround HTML tags.  The words between the angled brackets.
Project 8 Creating Style Sheets.
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
XHTML Basics.
Creating and Editing a Web Page Using Inline Styles
Microsoft Word 2003 Tutorial 2 – Editing and Formatting a Document.
Table of Contents III: Use fields to create a TOC and create multiple TOCs Create a TOC by using fields Beyond the three basic methods of building a TOC.
Microsoft ® Office Word 2007 Training Bullets, Numbers, and Lists ICT Staff Development presents:
Web Page Development Identify elements of a Web Page Start Notepad
1 Computing for Todays Lecture 4 Yumei Huo Fall 2006.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
Key Applications Module Lesson 12 — Word Essentials
HTML: PART ONE. Creating an HTML Document  It is a good idea to plan out a web page before you start coding  Draw a planning sketch or create a sample.
HTML Notes Chapters 1--6 Codes used in creating HTML documents are called tags. Tags are always enclosed in left ( ) angle brackets. Tags can be upper.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
Basic HTML The Magic Of Web Pages. Create an HTML folder  Make a folder in your H drive and name it “HTML”. We will save EVERYTHING for this unit here.
Bullets, numbers, and lists Simple lists Lists are a useful component of any document, whether you’re summarizing information or making it easier to digest.
Web page - A Web page is a simple text file that contains HTML tags (code) that describe what should be displayed on the browser. -The Web browser interprets.
Creating Tables in a Web Site
Class 3 – Creating Lists In this lesson, you will learn to use HTML to organize your text into lists.
WDV 331 Dreamweaver Applications Snippets and Libraries Items Dreamweaver CS6 Chapter 18.
Creating and Editing a Web Page Project 2. Project Objectives Project 2: Creating and Editing a Web Page 2 Identify elements of a Web page Start Notepad.
XP Mohammad Moizuddin Creating Web Pages with HTML Tutorial 1 1 New Perspectives on Creating Web Pages With HTML Tutorial 1: Developing a Basic Web Page.
Getting Started with HTML Please use speaker notes for additional information!
Unit 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
Unit 3 Day 6 FOCS – Web Design. Journal Unit #3 Entry #4 Write the source code that would make the following display on a rendered page: Shopping List.
Essentials of HTML Class 4 Instructor: Jeanne Hart
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
Organization Components (Lists, Table & Frame) Wah Yan College (Hong Kong) Mr. Li. C.P.
HTML.
Formatting Text with HTML. Objectives: Students will be able to: Define the structure of the document with block elements Format numbered, bulleted, and.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML, Third Edition--Illustrated Brief 1 HTML, Third Edition Illustrated Brief Unit C Formatting Page Elements with HTML.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
Creating and Editing a Web Page
This shows CIS17 and the first day introduction..
Elements and Attributes. XHTML Elements The element contains special information that does not necessarily show up on the web page. The element determines.
Creating and Editing a Web Page Using Inline Styles
Project 02 Creating and Editing a Web Page Concept Map of Unit Creating and Editing a Web Page Key Learning Understand the elements to create a web page.
Revised June 2008 Online PD Basic HTML1 Let’s Try It!  Open Notepad oStart > All Programs > Accessories > Notepad oDon’t get WordPad by mistake – won’t.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
Text Elements. We've already learned about the,,,, and elements. Now let's learn some elements that we'll use to present actual text content on our web.
Key Applications Module Lesson 12 — Word Essentials Computer Literacy BASICS.
© Ms. Masihi.  A Web page contains text and images that convey specific information to viewers.  To create a new web page, open Dreamweaver and select.
Lesson 5. XHTML Tags, Attributes and Structure XHTML Basic Structure head and body titles Paragraph headings comments Document Presentation Manipulating.
Let’s Try It! Open Notepad
Online PD Basic HTML The Magic Of Web Pages
HTML Basics.
Web Development & Design Foundations with HTML5 7th Edition
Uppingham Community College
Creating Tables in a Web Site Using an External Style Sheet
Text Elements.
Elements and Attributes
A guide to HTML.
Working with HTML These are the examples you need to go over. Click on the name like HTML5intro.html and it will bring up the page. If you right click.
Text Elements.
Key Applications Module Lesson 12 — Word Essentials
Text Elements.
Introduction to Computers
Creating and Editing a Web Page
Text Elements.
Key Applications Module Lesson 12 — Word Essentials
Text Elements.
Presentation transcript:

Unit 3 Day 5 FOCS – Web Design

Unit #3 Entry #3 What is the difference between an inline tag and a block tag? Give an example of both.

Recipe.htm The sample recipe.htm page we're creating here isn't long enough to need a whole lot of headings or subheadings. In fact, if we were to bother creating an outline for such a short page, we'd just have a couple of section headings under the main title like this: Hot Dogs Ingredients Directions

Adding Subheadings In our recipe page, we already put in the h1 heading. So now you just have to add the h2 headings. We'll put them under the first paragraph. Under the first paragraph, type Ingredients, press ENTER a couple of times, and then type Directions.

What it should look like

Lists Lists are common in Web pages and print alike. You've probably seen thousands of them. They come in two basic varieties: the unordered list and the ordered list

Unordered List An unordered list works best when listing a set of facts (or ingredients) where the order doesn't matter. This style of list is sometimes called a bulleted list, because each item in the list starts with a small circle called a bullet. Here's an example: Great luxury at an affordable price Better gas mileage than most cars Highest resale value in its class

Ordered List We use an ordered list when the order of the items in the list matters. This type of list is sometimes called a numbered list, because each item in the list starts with a sequential number. This type of list is used for step-by-step instructions, as in this example: 1. Put the key in ignition, and turn the key to start the motor. 2. Release the hand brake, and press the brake pedal on the floor. 3. Switch the gearshift lever to D (Drive).

List Tags Both types of lists are so common that HTML has tags for them. We use … tags to define an unordered list. And we use … tags to define an ordered list. Regardless of which type of list you're creating, you use … tags to define each list item. Notice that the tags indicate the type of element each creates. Use ul for an unordered list, ol for an ordered list, and li for each list item within either type of list.

Create an Unordered List Let's suppose we want to put an unordered list of ingredients under the Ingredients heading in recipe.htm. The first step, of course, is to open recipe.htm in an editor so you can make changes. Then, click where you want to start typing (just below the Ingredients heading). I f there isn't a blank line under that heading, click at the end of the Ingredients line, and press ENTER to get the cursor under that heading.

To create the list, first type both the opening and closing ul tags, and put each on its own line. Technically, you're not required to type both the opening and closing tags at the same time. However, typing both right away is a good habit to get into, because one of the most common mistakes in HTML is forgetting to type the closing tag. If you type both tags right from the get-go, you won't have to worry about forgetting. Type your and tags under the Ingredients heading now.

The tag marks the beginning of a list, and the tag marks the end of a list. Right now, it's an empty list, because we haven't typed any list items yet. A list can contain any number of list items. But it can only contain list items. It can't contain headings, paragraphs, or any other type of element.

Entering the List Each item in the list must start with a (list item) tag, and end with a tag. To keep things simple, we'll add three items to our list. Here are the steps: 1. Click just past the opening tag, and press ENTER to start a new line under that tag. 2. Type Hot dogs, and press ENTER. 3. Type Hot dog buns, and press ENTER. 4. Type Mustard, relish, chopped onions. 5. Make sure you put all of the list items between the and tags, as shown below. Again, I made the text red and the code black to distinguish, but it will all be black when you type it.

What it should look like

How it works Looking at the rendered content in the page, and thinking back to the code you wrote, it all plays out like this: The tag marks the start of the unordered list. In the browser, the list has some blank space above it and is indented. An tag marks the start of each item. In the browser, each item starts on a new line and has a bullet to its left. A tag marks the end of each item in the list. The tag marks the end of the list. Text below the tag in the page no longer looks like list items.

Creating a Numbered List The tags for an ordered (numbered) list are almost identical to those of an unordered list. The only difference is that the ordered list starts with and ends with. Let's add a numbered list to our recipe page. Here are the steps: 1. Open recipe.htm for editing, or switch to its window if it's already open. 2. Click to the right of the Directions, and press ENTER to put a new blank line under it. 3. Type both the and tags now (so you don't forget to type the closing tag later). 4. Put the cursor between the and tags. 5. Type Preheat grill to 350 degrees., and press ENTER. 6. Type Place dogs on grill, roll occasionally for even cooking., and press ENTER. 7. Type Place cooked dogs in buns., and press ENTER. 8. Type Apply mustard, relish, and onions to taste., and press ENTER. 9. Move the cursor down so it's just past the closing tag. 10. Press ENTER, and add the paragraph Eat and enjoy!.

List Summary Use to start an unordered list, or to start a numbered list. Use to start each item in the list, and to end each list. Use to end the entire unordered list, or to end the entire ordered list. Unordered lists are sometimes called bulleted lists, because each list item starts with a bullet (small circle). Ordered lists are sometimes called numbered lists, because each item in the list is numbered in sequential order. We often use numbered lists for step-by-step instructions.

Special Characters Every letter, number, and punctuation mark that you can type at the keyboard is a character. You can type quite a few characters right from your keyboard But every now and then, you may need one that you can't find on your keyboard, such as © for copyright. We call these special characters.

Special Characters (cont.) HTML character entities are special codes you can type to make special characters show on your page. Each special character can be represented by brief name or numbers. And each starts with an ampersand (&) and ends with a semicolon (;). If you use the number rather than the name, you must follow the ampersand with a # (pound) character. There are hundreds of character entities.

CharacterNameEntityDecimal ©Copyright sign©© ™Trademark™™ ® Registered trademark ®® °Degrees°° é Lowercase e with acute éé í Lowercase i with acute íí ñ Lowercase n with tilde ññ Nonbreaking space  

Using Special Characters Let's get some practice using one of the character entities. Let's replace the word Degrees in recipe.htm with the character entity for the degree sign. Here are the steps: Open recipe.htm for editing (or switch to that window if it's still open). Right after the 350 in the directions, delete the space and the word degrees. Type ° to replace the word you just deleted.

° The image below shows the ° entity in the correct place. NOTE: I'm only showing code and text near the change to make it easier for you to see this one small change.