Unit 3 Day 4 FOCS – Web Design. No Journal Entry.

Slides:



Advertisements
Similar presentations
HTML Basics Customizing your site using the basics of HTML.
Advertisements

Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
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.
WeB application development
Cascading Style Sheets
Anne McGrath 16 th February  Review of what we have learned so far.  Angled brackets surround HTML tags.  The words between the angled brackets.
 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
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.
HTML Creating Web pages. HTML Hyper Text Markup Language Not programming, but a markup language using tags to format text in Web browsers.
Chapter 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.
Word Processing First Steps
HTML Hypertext Markup Language –First proposed by CERN in 1989 –It is non-linear so it allows you to jump from place to place –Markup refers to the structure.
Web Page Development Identify elements of a Web Page Start Notepad
Intro to Microsoft Word.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
Key Applications Module Lesson 12 — Word Essentials
With Alex Conger – President of Webmajik.com FrontPage 2002 Level I (Intro & Training) FrontPage 2002 Level I (Intro & Training)
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.
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.
So – You want to learn how to put an advanced article submission (cut and paste) onto the state website. (Note: If you have not done so, you will need.
Internet Skills An Introduction to HTML Alan Noble Room 504 Tel: (44562 internal)
Getting Started with Expression Web 3
Web Design Using HTML Codes. WHAT DO I NEED TO BEGIN DESIGNING A HOME PAGE? 1.YOU NEED A FOLDER (also called a DIRECTORY) You should set up a folder or.
Adding Content To Your Faculty Page 1.Login 2.Create your Faculty Page 3.
More Basic HTML. Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features Add alignments.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
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.
15.2 More Basic HTML. More Basic HTML Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features.
Introduction to HTML. What is a HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup tags  The.
Web Programming Basics of HTML. HTML stands for Hyper Text Mark-up Language A mark-up language is different than those that you have learned before in.
Microsoft FrontPage 2003 Illustrated Complete Using a Dynamic Web Template.
15.1 Fundamentals of HTML.
HTML Hyper Text Markup Language. What is an HTML File?  HTML stands for Hyper Text Markup Language  An HTML file is a text file containing small markup.
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.
1 Creating Web Pages Part 1. 2 OVERVIEW: HTML-What is it? HyperText Markup Language, the authoring language used to create documents on the World Wide.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
15.1 Fundamentals of HTML DeKalb County School System.
Unit 3 Day 3 FOCS – Web Design. Journal Unit #3 Entry #2 What are (all of) the required tags in a html document? (hint: it’s everything that is in sample.html)
15.1 Fundamentals of HTML 2 assignments: 1st—complete the worksheet. 2nd—create your first HTML web page following the directions in this PowerPoint where.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
Writing Your Own Web Page: Using HTML and FrontPage Chapter 10.
1 2/16/05CS120 The Information Era Chapter 4 Basic Web Page Construction TOPICS: Intro to HTML and Basic Web Page Design.
Creating and Editing a Web Page Using Inline Styles
HTML Review * is used as a reference for most of the notes in this powerpoint.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Chapter 4 and 5. Objectives Introduce markup: elements and attributes How browsers interpret HTML documents Basic structure of HTML document What do style.
MS WORD INFORMATION TECHNOLOGY MANAGEMENT SERVICE Training & Research Division.
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.
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.
Welcome to the Basic Microsoft Word Guide. Before you start this Guide, you will need to complete “Basic Computer”; “Basic Windows” and know how to type.
Let’s Try It! Open Notepad
Online PD Basic HTML The Magic Of Web Pages
HTML Basics.
Creating Tables in a Web Site Using an External Style Sheet
Key Applications Module Lesson 12 — Word Essentials
Creating your first website
Creating your first website
Key Applications Module Lesson 12 — Word Essentials
Presentation transcript:

Unit 3 Day 4 FOCS – Web Design

No Journal Entry

Required Tags The tags above are the only tags that all pages require. From here on out, you can be creative with your tags and content. Can you name all the required tags??? What are they?

Add Content With index.htm still open in your editor, type the words My Website between the … tags, as below. (Feel free to make it more personal by using your own name if you'd like). My Website Between the and tags, type Welcome to My Site. Press ENTER to start a new line Type This is text on my home page.

In the image below, I've indicated in red the new text you added to your page. In your page, you just want to make sure the new title text is between the … tags and the rest is between the … tags.

Save yo Changes Any changes you make to a web page aren't saved until you save them. Press CTRL + S (in Windows). Or choose File > Save from the program's menu bar. Any changes you make are saved to the existing file

Reload/Refresh Also, the changes won't automatically show up in the Web browser if the page is already open in the browser. For changes to show up in the browser, you have to click the browser's Reload or Refresh button. The location and name of the button varies slightly from one browser to the next, typically, it's a rounded arrow, and when you point to it, the tooltip at the mouse pointer shows Reload or Refresh, like in the examples below. Clicking that button forces the Web browser to fetch the latest saved copy of the file.

In the editor, you might (or might not have) indented your code using spaces. Those indents are called whitespace. And you might have broken the text into two lines, like this:

The truth is, the browser doesn't care if you did or didn't indent lines, or if you put text on multiple lines. It's going to show that text as one long, left-aligned line of text either way. The browser doesn't use the whitespace or line breaks in your code to determine where to break or indent lines of text. The Web browser (and all other user agents that display your page) cares only about markup. they use the HTML tags to determine how the page looks.

… To illustrate, I'll introduce you to a couple of new HTML tags. The first are the heading 1 tags (h1 tags), which look like this: … Any text placed between those tags is considered a level-1 heading. Translation to plain English would be "the main title at the top," such as a story title or headline. There are h2 headings for subheadings, h3 for sub-subheadings and so forth.

… There are tags that mark the beginning and end of each paragraph. A paragraph is any sentence or group of sentences that have some empty space above and below them. To mark the beginning and end of a paragraph use the tags:

Adding more content Let's try these new tags out and see what effect they have on our page. Follow these steps: Open index.htm in your editor. (How you do this will always be the same, as discussed under "Opening a Page for Editing" in Chapter 3. If you've forgotten how, you can review now.) Type an tag to the left of the word Welcome, and after Site. Type a tag in front of the word This, and a after the period at the end of that sentence. Use the image below as a guide. But again, the red just shows you what to type where; it won't actually be red in your editor.

Double-check to make sure you typed everything correctly. Save your page (press CTRL + S or COMMAND+S in your editor, or close your editor and choose Yes or Save when asked about saving your changes). Then, open the page in your browser again, or just Refresh or Reload the page in the browser if you already have it open there.

What you should see

What you see… Of course, in the browser, you don't see the tags. You see the rendered page. The h1 text renders as larger text on its own line. The paragraph renders on its own line with some space above. They're on separate lines because headings and paragraphs are block elements, meaning that they always start on a new line.

More Tags Open index.htm for editing in your editor. Click just to the left of the, and add a couple spaces after the period and the sentence I am a sentence that contains some boldface text and some italic text.

Note The new text you type may automatically wrap to two or more lines. Or it might just be one long line. It really doesn't matter because the Web browser ignores all that. So don't worry about if or where the lines break. Just worry about typing the tags correctly.

After adding the new text and saving it, open the page in your browser again. Or, if it's already open in your Web browser, refresh or reload the page. In the browser, the text in the body will now look something like this: Some more text and tags added to the page Your text may all be on one line though, because the text in a browser will always word wrap automatically to stay within the width of the browser window (so no text gets cut off). We use the term word wrap because it'll always try to break to the next line between two words, not in the middle of a word.

You'll also notice that the word boldface is darker. That's because in the source code, that word is enclosed in … tags.  bold

The word italic is slanted. That's because that word is enclosed in … tags. The em is short for emphasis, and it makes the text look italic on the screen,  italics

Inline vs. Block Here's something else you might notice: Before, when you put in the h1 and p tags, it separated the heading text from the paragraph with a blank line. That's because those are block elements, meaning they always start on a new line (start a new block of text). The strong and em tags you added didn't do that. In other words, the and tags don't cause the text to start on a new line. They allow the text to continue to flow normally. Strong and em are inline elements as opposed to block elements. Inline elements stay in line with the rest of the text on the line, rather than start a new line.

What have we learned so far… To create a page, open a text editor (or some program specifically designed for creating Web pages). Then, save the page, and make sure you give it an.htm or.html filename extension (they're equal, so use whichever you like). To view a page in your Web browser, double-click its icon. The browser shows the rendered page, which is how the rest of the world sees your page. To change the page, open it in a text editor again so you can see and change the source code. Typically, you right-click (Windows) or CTRL + click (Mac) the icon and choose Open With to open the page in an editor.

Every page contains code (instructions for the computer) and content (text and pictures that people see in their Web browsers). Most of the code consists of HTML tags, each of which starts with. Changing the source code won't affect how the page looks in a browser immediately. You have to save the changes first. Then, if the page is already open in the browser, Refresh or Reload the page.

Create a new page

Save your page Open your editor I colored the content red and the tags black above, just to keep them separated visually. Save the page by choosing File > Save, or by using the CTRL + S or COMMAND + S shortcut. Put the file in your MyWebsite folder, and name it recipe.htm.

Headings You've already learned about level-1 headings, defined by … tags. A level-1 heading is the main title or headline at the top of a Web page or other document. HTML offers six levels of headings, and each uses similar tags as indicated below … … … … … …

Headings (cont.) Many beginning Web developers look at that and think heading tags must exist to control the size of text. But that's not true at all. We use HTML to define what an element is, not how it looks. As you'll learn later, you use CSS (another language) to control how things look. What an element is, in terms of headings, relates to its outline level. To really understand that think about when you were encouraged to create an outline before writing a paper. The purpose of the outline was to organize the paper in advance, to make it easier to write and easier for readers to understand. The outline was all about organizing topics and subtopics within topics, perhaps something like this:

Heading Example

Subheadings h1 is the main title, and any subtitles would be h2 headings. If an h2 heading needs to be divided into two or more subtopics, their headings would be h3 titles. If an h3-level heading needs to be divided into two or more subtopics, those would be titled as h4 headings so forth down the line…