How Tags are used to form your Web Page

Slides:



Advertisements
Similar presentations
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.
Advertisements

Anatomy of a Web Page. Parts of a Web Page Title Bar Navigation Tool Bar Location Bar Header Graphic/Image Text Horizontal Rule Links.
HTML Basics 1450 Technology Seminar Copyright 2003, Matthew Hottell.
Intro to HTML. HTML HTML = HyperText Markup Language Used to define the content of a webpage HTML is made up of tags and attributes Content.
HTML popo.
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
Anne McGrath 16 th February  Review of what we have learned so far.  Angled brackets surround HTML tags.  The words between the angled brackets.
HTML Creating Web pages. HTML Hyper Text Markup Language Not programming, but a markup language using tags to format text in Web browsers.
HTML Creating Web pages. HTML Hyper Text Markup Language Not programming, but a markup language using tags to format text in Web browsers.
13 February Building a Web Page. HTML Files Two types of information Text Instructions on how to display Instructions are in the form of tags Tags are.
Web Page Development Identify elements of a Web Page Start Notepad
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
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.
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.
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.
CS105 Introduction to Computer Concepts HTML
HTML. We’ll learn … What HTML is What tags are What a basic web page looks like What 3 HTML tags are required What HTML comments look like How to title.
Introduction to HTML. Topics HTML –What is HTML –Parts of an HTML Document –HTML Tags.
THE BACKBONE OF EVERY WEB PAGE HTML Day 1. What will we learn? How to create a basic web page Backgrounds and colors How to link Web sites How to include.
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
 HTML stands for Hyper Text Mark-up Language. The coding language used to create documents for the World Wide Web  HTML is composed of tags. HTML tags.
HTML. WHAT IS HTML HTML stands for Hyper Text Markup Language HTML is not a programming language, it is a markup language A markup language is a set of.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
Unit 1 Changing the Appearance of Text. TITLE CORNELL NOTES TOPIC: NOTES: Summary: HTML Hypertext Markup Language 1 st and last tag on a page Tags Tags.
HTML CRASH COURSE. What is HTML?  Hyper Text Markup Language  The language used to make web pages  Written by using tags.
 2008 Pearson Education, Inc. All rights reserved Introduction to XHTML.
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
XP 1 HTML Committed to Shaping the Next Generation of IT Experts. 01: Introduction to HTML.
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.
15.1 Fundamentals of HTML.
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.
HTML INTRODUCTION. What is HTML?  HTML stands for Hypertext Markup Language  Developed in 1990  Hidden code that helps us communicate with others on.
All you ever needed to know…and more!. H.T.M.L. HyperText Mark-up Language Web’s programming language All web browsers Set of instructions Written with.
Computer Information Technology – Section 3-4. HTML – The Language of the Internet Objectives: The Student will: 1. Look at HTML 2. Understand the basic.
Introduction to HTML. Slide 1 Hard-Coding What is hard-coding? –Creating the page in a text editor just using HTML A Web designer should know how to hard-
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
HTML: Hyptertext Markup Language Doman’s Sections.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
HTML file format  Lesson Objective: Understanding HTML and how it is used to create web pages.  Learning Outcome:  Create a HTML page by interpreting.
HTML— More Tags, Formatting, and Lists. Formatting Tags  Bold  Italics  Underline  Big text  Small text  Subscript (H 2 O)  Superscript (10 3 )
HTML Basics. HTML Introduction Stands for HyperText Markup Language. HTML files are plain text files with mark ups. Some characteristics of HTML: –No.
HTML ( HYPER TEXT MARK UP LANGUAGE ). What is HTML HTML describes the content and format of web pages using tags. Ex. Title Tag: A title It’s the job.
HTML HTML: Hypertext Markup Language. The basic language of the World Wide Web. Developed around 1991 at the CERN lab on the French-Swiss border by Tim.
HTML Tags Lesson 2. What are HTML Tags?  Markup tags  Coded instructions that accompany the plain text of an HTML document  Syntax –Left wicket< –Tag.
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.
HTML. Hyper Text Markup Language Markup your text document The markup is the tag Hyper text means you can jump from place to place.
HTML Basic. 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.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Spiderman ©Marvel Comics Creating Web Pages (part 1)
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
Your HTML website creating your first html file. Creating an HTML FIle Open note pad from accessories, programs. Write code. Save and view. In 3 Steps.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
HTML. Hyper Text Markup Language Markup your text document The markup is the tag Hyper text means you can jump from place to place Programming language.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
Chapter 4 and 5. Objectives Introduce markup: elements and attributes How browsers interpret HTML documents Basic structure of HTML document What do style.
Basic HTML Page 1. First Open Windows Notepad to type your HTML code 2.
NOTEPAD++ Lab 1 1 Riham ALSmari. Why Notepad++ ?  Syntax highlighting  Tabbed document interface  Zooming  Indentation code  Find and replace over.
HTML Introduction. Lecture 7 What we will cover…  Understanding the first html code…  Tags o two-sided tags o one-sided tags  Block level elements.
Lesson 5. XHTML Tags, Attributes and Structure XHTML Basic Structure head and body titles Paragraph headings comments Document Presentation Manipulating.
Online PD Basic HTML The Magic Of Web Pages
HTML Basics.
Uppingham Community College
HTML.
Presentation transcript:

How Tags are used to form your Web Page HTML Tag Mark-Up How Tags are used to form your Web Page

<html> What is HTML? </html> HTML stands for Hyper Text Mark-up Language It is the basic set of rules that web browsers use to interpret and display internet documents HTML is an acronym for Hyper Text Mark-up Language. These are the rules that were agreed upon by an international committee on Internet Communication. Every Browser program, Firefox, Internet Explorer, Netscape, etc. follows these rules when they display the html documents that make up the entire internet. These rules make it possible for you to visit web pages from around the world with any kind of internet browser program and you will see (pretty much) what the author wanted you to see. Tag Mark-up Sheet

Tags Tags mark the beginning and end of a particular element. They (almost) always <b>bracket</b> the element <html> <head> <title> Mark-Up Assignment </title> </head> <body> Here is the BODY</body> </html> Tags are the most basic part of the “Language” in Hyper Text Mark-up Language (html). If you have looked at the source code for a myspace page or any other web page, for that matter, you will see hundreds of these tags. You can tell a tag because tags are enclosed in angle brackets < & >. Whatever is inside the bracket is the tag. You use a <p> to mark the beginning of a paragraph and a </p> to mark the end of a paragraph. That tag tells the web browser that you want a space between the paragraph and some other element. Notice in the example that there are beginning tags: <html> <head> <title> and <body> and exactly the same number of end tags: </title> </head> </body> and </html>. Almost all tags have a beginning and an end. These are called “closed elements”. There are a few notable exceptions that you may use in the course of this project. These are called “open elements” and appear where there is just no need for an end, because the element just is what it is. For instance, <br /> stands for “break” which just ads a line of space across your page wherever you put the tag. <img /> is the “image” tag, and while you will have several “attributes” which you will need to add inside the tag, for the most part it just tells the browser that you want to put a picture or image in a particular location. Since pictures are finite, they do not need an end tag to let the browser know that the end of the picture has come. We will discuss these and other specific tags later. What you need to understand here is that: tags come in sets tags are always supposed to be in lower case letters (CAPS will work now, but not in the future) tags separate one element, or part of the web page, from other elements.

Elements Elements are parts of the document that are distinguished by tags <html> <head> <title> Mark-Up Assignment</title> </head> <body> Here is the BODY</body> </html> Closed Elemets have a beginning and end Everything between them is called the “content” of the element

<head> Elements </head> Web Pages are made up of “elements” – or distinct parts The Head Can hold lots of non-display information The Title is NOT displayed on the page, the title appears at the top of the window, in the colored bar The next element is the head. Here is a sample of the types of information you put in the head of the page: Meta information about your authorship and the content of your page Notes about what is going on. Notes start with <!-- and end with -->. Nothing inside the note will be displayed on the actual page, but it could explain something about a part of your page to those who care to study your code. The Title, which has its beginning and end within the head element. It will not be displayed in the browser window. The Title will be what is written in the colored bar at the very top of your page. It is not the File Name (although when you name your file, you might want to use the same name as what you have for your Title). You can also include an Internal Style Sheet, which is a quick way to change the appearance of the tags you have in your page. This is not necessary, but it can save you loads of time formatting your page.

<body> The Body </body> This is where most of the page is It can include Tables Lists Quotes Pictures Just about anything else <body> <!-- This where the text of the web page goes. Anything that appears in the browser window should be in the body. --> <p> This is my web page. I will replace this text with the text from my essay</p> </body> </html> This is the next major part of your web page. The Body is what people actually see when they look at your web site. When you open your basic page in a browser, you should only see the sentence that is between the two paragraph tags <p> and </p>. The Note about “this is where the text of the web page goes…” does not appear, because it has the note tags <!-- and -->. If, however, you don’t write the note tags correctly, you will see your note, so be careful. Everything that you want people to see – like paragraphs, headings, and pictures – are supposed to be placed in the Body of the web page. See it

<h1> Heading Sizes </h1> <h1> Heading One <h2> Heading Two <h3> Heading Three <h4> Heading Four <h5> Heading Five <h6> Heading Six Headings are not numbered as they go down the page The <h1> through <h6> tags refer to the size of the heading Any Heading tag can be used anywhere on the page This is the Heading for the section on Headings Headings are what you might usually call titles. It’s very easy to confuse the two. In fact, if you did want the title of your page to appear in the browser window with the rest of your text, you could include it AS A HEADING. The tags for headings go from <h1> to <h6>. That’s all there are. There is no <h7> tag. <h1> is the largest. By default, it is uses a 24 point Times New Roman font. It will have spacing above and below it and be aligned on the left side of the screen. You can change these settings in the individual settings, or you can make an internal or external style sheet, but for now, lets just keep them at their default values. They can be used anywhere on the page, in any order. Remember: the numbers have nothing to do with placement, and everything to do with the size and style of the web page.

<p> Paragraphs </p> Paragraphs are separated by space from what comes before and after They are not, by default, indented <p>Here is some interesting information about this.</p> <p>On the other hand, there is this information here.</p> Here is some interesting information about this. On the other hand, there is this information here. The paragraph tags <p> and </p> are the first tags you will need to add to you web page after you add in the text from your essay. The default settings for paragraphs are that there is no indent, but there is a space between each paragraph.

Spaces and Returns HTML only recognizes ONE space between each word The <p> tag will separate with a space The <br /> tag gives a “hard return” What you type: Roses are red Violets are blue My feet stink And so do you What you see: Roses are red Violets are blue My feet stink And so do you

Spaces and Returns HTML only recognizes ONE space between each word The <p> tag will separate with a space The <br /> tag gives a “hard return” What you type: <p> Roses are red <br /> Violets are blue </p> <p> My feet stink <br /> And so do you </p> What you see: Roses are red Violets are blue My feet stink And so do you

<ul> Un-Ordered List </ul> These are Bulleted lists The list begins with <ul> It ends with </ul> They don’t have a particular sequence <li> each thing in the list gets list item tags </li> What you type: <ul> <li> Make paragraphs </li> <li> Use tables that may or may not have borders </li> <li> Make links </li> <li> Insert pictures </li> </ul> What you see: Make paragraphs Use tables that may or may not have borders Make links Instert pictures

<ol> Ordered Lists </ol> <ol> stands for Ordered List Signal the end of the list </ol> Each element still gets the <li> & </li> tags. The browser adds the numbers (or letters or Roman numerals) What you type: <ol> <li> Come to class on time</li> <li> Get out your materials for class</li> <li> Be ready to participate</li> <li> Raise your hand if you have a comment or question</li> </ol> What you see: Come to class on time Get out your materials for class Be ready to participate Raise your hand if you have a comment or question See it

<b><u><i> Other Formats </i></u></b> What you type: What you see: <body> <b>This is Bold </b> <i> This is Italicized </i> <u> This is Underlined </u> </body> This is Bold This is Italicized This is Underlined See it

“Open Elements” Open Elements are tags that do not have any content following them or within an opening and end tag. <br> <hr> <img> In future browsers, all Elements must be “closed” <br /> <hr /> Here is a line. HTML calls it a “header row” <hr> <br> There will be a space before this Here is a line. HTML calls it a “header row” There will be a space before this

What you need to do: Fill in all the tags that are indicated on the Tag Mark-Up handout. Go to a computer and create your own “Basic Page” using the exact text presented in the folders at the computer. Save the Basic Page into your File Folder Each person must create their own, individual, Basic Page