Getting Started We will be using MS Notepad to write our HTML. Pages will be saved to classroom folder Pages will be viewed as they are created in your.

Slides:



Advertisements
Similar presentations
Introduction to Web Design Lecture number:. Todays Aim: Introduction to Web-designing and how its done. Modelling websites in HTML.
Advertisements

Introduction to HTML. A Web Page is.. An ASCII (text) file.. Whose filename ends with.htm or.html –index.html or cookie-recipe.htm Contains HTML tags.
HTML I. HTML Hypertext mark-up language. Uses tags to identify elements of a page so that a browser such as Internet explorer can render the page on a.
Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
HTML popo.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML. The World Wide Web Protocols Addresses HTML.
Cascading Style Sheets
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
OMT II Mam Saima Gul. * Static web page * a web page with contents that remain fixed and unchanged once it has been created by the author Web server Client.
1 Pengantar Teknologi Internet W03: CSS Cascading Style Sheets.
1 Outline 9.1Introduction 9.2Markup Languages 9.3Editing HTML 9.4Common Tags 9.5Headers 9.6Text Styling 9.7Linking 9.8Images 9.9Formatting Text With 9.10Special.
 2001 Deitel & Associates, Inc. All rights reserved. 1 Outline 9.1Introduction 9.2Markup Languages 9.3Editing HTML 9.4Common Tags 9.5Headers 9.6Text Styling.
HTML for Beginners An IEEE/ACM Presentation given by Hamilton Turner.
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.
HTML Computing Concepts HTML - An Introduction 1.
HTML Introduction HTML
Designing Web Pages Getting to know HTML... What is HTML? Hyper Text Markup Language HTML is the major language of the Internet’s World Wide Web. Web.
Tags through Forms. This element is required for all HTML pages It must be at the top of every page of every website We’ll see later on why it is important.
© 2005 ComputerPREP, Inc. All rights reserved. HTML 4.0 and Web Page Design Module I.
ULI101: XHTML Basics (Part III) Introduction to XHTML / Continued … Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,,
Designing Web Pages Getting to know HTML... What is HTML? Hyper Text Markup Language HTML is the major language of the Internet’s World Wide Web Web.
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
Unit 1 – Developing a Web Page. Objectives:  Learn the history of the Web and HTML  Describe HTML standards and specifications  Understand HTML elements.
HTML HTML stands for "Hyper Text Mark-up Language“. Technically, HTML is not a programming language, but rather a markup language. Used to create web pages.
HTML (HyperText Markup Language)
Understanding HTML Code
Using Html Basics, Text and Links. Objectives  Develop a web page using HTML codes according to specifications and verify that it works prior to submitting.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
More Basic HTML. Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features Add alignments.
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
Html Basic Codes Week Two. Start Your Text Editor Windows use 'Notepad’ Macintosh use 'Simple Text'
Intro to Website Design Presented by: Donald Chase, LoudOffice.com
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.
 A style sheet is a single page of formatting instructions that can control the appearance of many HTML pages at once.  If style sheets accomplished.
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.
Web Page Creation Part I ST: Introduction to Web Interface Design Prof. Angela Guercio.
Just Enough HTML How to Create Basic HTML Documents.
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 2, cont. September 12 More HTML. Attributes Some tags are modifiable with attributes This changes the way a tag behaves Modifying a tag requires.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
HTML: Hyptertext Markup Language Doman’s Sections.
Introduction HTML (Hypertext Markup Language) is used to create document on the World Wide Web. HTML is not a programming language, it is a markup language.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
Agenda Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,, Font Attributes: size, color, face Horizontal.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
HTML GUIDE Press F5 and then Click on the links on the left to get to the section you want Section 1: Getting Started Section 2: Moving Banner Section.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Basic Document Structure.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML BASIC IST 210: Organization of Data IST210 1.
HTML – The Basics COE 201- Computer Proficiency. The Internet The World Wide Web ▫Also known as the Web ▫Created in 1989  European Laboratory for Particle.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
HTML HYPER TEXT MARKUP LANGUAGE. INTRODUCTION Normal text” surrounded by bracketed tags that tell browsers how to display web pages Pages end with “.htm”
What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
HTML – The Basics Rebecca Shillingburg
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
1 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
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.
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Tag Basics.
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Computers and Scientific Thinking David Reed, Creighton University
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Presentation transcript:

Getting Started We will be using MS Notepad to write our HTML. Pages will be saved to classroom folder Pages will be viewed as they are created in your browser.

Basics of the Internet In the simplest sense, the Internet is a collection of inter-connected computers (servers) over shared lines. Servers are just like the computers you use at home and work, but more powerful. The Internet became “browse-able” in the 1990s with the creation of the HTTP protocol and creation of HTML.

HTTP & HTML HTTP – HyperText Transfer Protocol Method by which a computer jumps from one page to another by clicking on links. HTML – HyperText Markup Language Markup language that allows for the formatting of Internet Documents. –Plain Text Language –Universal Compatibility –Most-recent version is HTML 4.0

What HTML Does Turns Text Like This I attend Malden High School What is your name? Formatted Like This Hello world I attend Malden High School What is your name? INTO THIS…

HTML Coding Standards HTML markup takes the form of TAGS Marked up text Some of these tags have attributes Text Some tags have opening and closing elements, while some have just opening

Basic Web Page Tags Each web page has four basic tag sets: TagClosingDescription Defines the area within as an HTML page. Contains information about the document. Identifies the title of the page, contained within the tag. Surrounds the text of the page.

Template For HTML Pages Page Title Goes Here Page content goes here.

Try It Yourself… Create your own page: Open Notepad Hello World My name is __________. [Name your file as index.html] Open I.E. and type in the exact address: proxy\wsmultimediab\foldername\index.html

Adding Text Adding text is as simple as typing text between the tags, except: –Browsers ignore multiple spaces, spacing only once unless told otherwise. –Browsers do not know when to start new paragraphs or break at the end of lines. –Browsers do not know how you wish to format text.

Paragraphs The tag tells the browser to insert a new paragraph. –The closing tag for this ( ) is optional, but recommended. The tag has one attribute, ‘ align ’ that controls the on-page alignment of your paragraph. –Options are left, center, right, justify –This attribute has been Deprecated in HTML 4.0.

Line Breaks To insert a line break, use the tag. Note, that this tag has no closing tag. Ex. ‘ Hello World ’: Hello World

How and Differ The tag forces a one-line break, while the tag creates a new paragraph with a two-line break. The tag has an align element ( left, center, right, justify ) while no such attribute exists in the tag.

Text Spacing Although HTML ignores extra spacing, there is a ‘special character’ in HTML that gives you that functionality: –This is the non-breaking space character, and adds the ability to have extra spaces to your page. Ex.: ‘There are 3 spaces between this and this.’: There are 3 spaces between and this.

The Tag The tag displays pre-formatted text ‘exactly’ as it is typed within the HTML document. All spaces are displayed without having to use the character. Has one attribute, width, which controls the maximum number of characters per line (options are 40, 80, 132 – not common).

Try it yourself… Open your index.htm file and use these spacing, line break, and paragraph tags to add formatting and spacing to the document you created.

Pretty Boring!!! As you can see, that page has information, but is downright BORING. So, what can we add to that page to spice it up a little bit? If it were a word- processor document, what would you do?

Use of Color In HTML, we can control the color of our pages, our fonts, our elements, and more. There are 216 colors in the color-safe palette. Colors are referenced using their RGB (Red, Green, Blue) color code or their name. See for a list of common colors.

The Tag The tag is required for all HTML documents and defines the area where the document’s content is contained. You can also use the tag to define some of the formatting for the entire page. Attributes taken by the tag include bgcolor, background, text, link, vlink, alink, as well as margins.

The Tag (cont.) Attributes –bgcolor – the page’s background color. –background – the page’s background image. –text – the default color of all the page’s text. –link – the default color for all links. –alink – the default color for all default links. –vlink – the default color for all visited links.

Tag - Margins Can be controlled for newer browsers, but each browser has it’s own tags. Internet Explorer –topmargin – controls the top margin –leftmargin – controls the left margin Netscape Navigator –marginheight – controls the top margin –marginwidth – controls the left margin All sizes are in pixels, or 1x1 dots on your screen. This attribute should be used sparingly.

Try it Yourself… Go to the Class Notes Section on the LoudOffice.com class page. Click on ‘Fun with Fonts and Colors’ and play with the different page color combinations to see what looks nice and what doesn’t? How does color relate to usability?

Headings Headings help you better structure and format your documents. Heading tags are to. –Each has an opening and closing tag – has the largest font, and the smallest. –Like has an align attribute, which has been deprecated in HTML 4.0. – - are actually smaller than your normal text font and should be used sparingly.

Basic Text Formatting Tags TagClosingDescription Creates bold text. Creates italicized text. Underlines text (use with caution). Big text. Can be overlapped (a bigger big). Small text. Can be overlapped (a smaller small).

HTML Coding Standards Nesting HTML Tags: When you create an HTML document, you are going to have overlapping tags. –For instance you may have a bolded sentence with an italicized word. You must close a nested tag before you can close the tag it’s nested in. –For instance, you cannot have Text more Text –It would have to be: Text more Text

Try it Yourself… Format your home page (index.htm) using these formatting tags ( -,,,,, ). Get really daring and try nesting multiple tags.

Other Text Formatting Tags TagClosingDescription Creates subscript text. Creates superscript text. Puts emphasis on text. (Similar to ) Renders text as teletype or mono- spaced. In the NCD HTML Guide, read the section on Font Formatting for additional tags.

THE TAG The most-used method to change the look of text on web sites is through the use of the tag. The tag has three attributes: –face – controls the font type –size – controls the font size (range from 1 – 7) –color – controls the color The use of is deprecated in favor of style sheets in HTML 4.

THE TAG Face –This attribute determines the type face of the font (what the font looks like). The three most common font faces are: Arial Times New Roman Courier –The font selected must exist on the user’s computer or else it will not display correctly.

THE TAG Size –There are seven basic sizes ranging from 1 to 7 –Font Size 1 = 8 pts –Font Size 2 = 10 pts –Font Size 3 = 12 pts –Font Size 4 = 14 pts –Font Size 5 = 18 pts –Font Size 6 = 24 pts –Font Size 7 = 36 pts

Color –There are two ways to assign color using the color attribute, with the name or RGB (red, green, blue) hexadecimal value: Red#FF0000 Green#00FF00 Blue#0000FF Black# White#FFFFFF –For a list of colors and their numerical equivalent, see THE TAG

Try it yourself… Modify your index.htm file with the tag with it’s face, size and color attributes, or create a new page…

The Comment Tag If you wish to add comments to an HTML page that does not show up on the browser, you can use the following: The comment tag can be at the beginning or end of a line or on it’s own line, it can also span multiple lines. Even though it does not show in the browser window, the text is still part of the source code for the web page, and can be viewed online. If you do not close your comment tag, the rest of your page will be invisible.

The Tag The tag helps you add structure to blocks of HTML. Takes the align attribute, with options being left, right, center, and justify. –Alignment has been deprecated in favor of style sheets. The tag is the same as.

The Tag The tag helps structure your web page by inserting horizontal rule lines. Attributes: –align – controls alignment (center, left, right). –noshade – displays the rule without shading. –size – controls the size (the height) of the rule. –width – controls the length of the rule. –color – the color of the rule (Internet Explorer). Note that there

Naming Conventions As you’ve picked up, all HTML files end with the extension ‘.htm’ or ‘.html’. When naming your file, there are a few rules you should follow: –Only use the letters a-z and numbers 0-9, as well as hyphens ‘-’ and underscores ‘_’. –Keep the names as short, memorable, and descriptive as possible. –Do not use spaces or any other characters.

How a Server Works All HTML documents, as well as images ands other media, are stored on computers called ‘servers’. Each website has it’s own directory on the host computer which is normally controlled by the website administrator. This directory traditionally carries a structure with a root directory, an images directory, and a cgi-bin.

How a Server Works The relationship between a website server and a web surfer’s browser is called a client- server relationship. –The browser is the client and receives finished content from the website server. When a page is ‘requested’ by the client, the server determines the file type based on extensions, performs any processing, and transmits the file to the user’s browser.

How a Server is Structured Browse to LoudOffice.com/class/empty/ to see how I would structure a website.LoudOffice.com/class/empty/ The number of subdirectories I put on a site depends upon the number of pages I expect to have under each category. –I use subdirectories for categories with multiple pages. I try to separate HTML pages, images, “active media”, programs, and databases.

Homework #1 As we said, the class project will be a simple personal website. Your assignment will be to decide on the content of your site (sections) and to jot down some ideas for each of the sections. Before the next class, you should have completed the index.htm (Welcome) page and the interests page (to be named interests.htm).