HTML Introduction Creating a Web Page.

Slides:



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

HTML Basics Customizing your site using the basics of HTML.
Computers: Tools for an Information Age Writing Your Own Web Page: Using HTML and Web Authoring Tools.
Web Development & Design Foundations with XHTML
Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
HTML. The World Wide Web Protocols Addresses HTML.
ASHIMA KALRA.  WHAT IS HTML WHAT IS HTML  HTML TAGS HTML TAGS  FORMATTING TAGS FORMATTING TAGS.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Creating and Editing a Web Page Using Inline Styles
Hypertext Markup Language. Platform: - Independent  This means it can be interpreted on any computer regardless of the hardware or operating system.
New Perspectives on Creating Web Pages with HTML
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 1: Developing a Basic Web Page.
HTML Introduction HTML
Developing a Basic Web Page with HTML
Glencoe Digital Communication Tools Create a Web Page with HTML Chapter Contents Lesson 4.1Lesson 4.1 Get Started with HTML (85) Lesson 4.2Lesson 4.2 Format.
Web Design is a class created to nurture the minds of high school techies, and introduce those without prior knowledge to the field.
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.
Tutorial 1: Getting Started with HTML5
Overview of HTML. Three Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
Today’s Topic Language of web page - HTML (Hypertext Markup Language)
4 HTML Basics 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.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
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.
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.
XP 1 New Perspectives on Creating Web Pages with HTML Developing a Basic Web Page.
Course Content - Chapter 2 Introduction to HTML Introduction to a Text Editor as a web authoring tool Instructional Activity: Creating a webpage using.
XP New Perspectives on The Internet, Sixth Edition— Comprehensive Tutorial 8 1 Creating Effective Web Pages Creating HTML Documents Tutorial 8.
What is Markup and Markup Languages? What is HTML? A Basic HTML Document Basic HTML Tags Tag Attributes and Text Formatting Tags Insert Hyperlinks Add.
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.
Computer Information Technology – Section 3-4. HTML – The Language of the Internet Objectives: The Student will: 1. Look at HTML 2. Understand the basic.
Web111a_chapt01.ppt Definitions Hypertext Documents Documents containing elements that can be selected Links Active pointers to other documents or files.
Overview of HTML/XHTML Two Different Approaches  Text editor like Notepad  HTML editor such as: –KompoZer –DreamWeaver –Microsoft Expression Web –iWeb.
HTML,DHTML & Javascript/Session1/1 of 39 Introduction and Basic Tags Session 1 of Using HTML, DHTML & JavaScript.
XP 1 New Perspectives on Creating Web Pages with HTML Tutorial 1: Developing a Basic Web Page.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 1 1 Microsoft Office FrontPage 2003 Tutorial 1 – Creating a Web Site.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
INTRODUCTORY Tutorial 1 Using HTML Tags to Create Web Pages.
HTML: Hyptertext Markup Language Doman’s Sections.
CPSC 203 Introduction to Computers Lab 33 By Jie Gao.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
CPT 499 Internet Skills for Educators Session Ten Class Notes.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
Web Development & Design Foundations with XHTML Chapter 2 HTML/XHTML Basics.
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.
Lecture 3 Creating a Web Page with HTML. Objectives §Hypertext Document in WWW p §The HTML language p l Definition l Web browsers and.
Introducing the World Wide Web Internet- a structure made up of millions of interconnected computers whose users communicate with each other and share.
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.
4 HTML Basics 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.
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.
XP 1 Developing a Basic Web Page Tutorial 1. XP 2 Introducing the World Wide Web Network - linking computers, sharing resources Network - linking computers,
HTML HyperText Markup Language. Text Files An array of bytes stored on disk Each element of the array is a text character A text editor is a user program.
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.
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.
XP 2 HTML Tutorial 1: Developing a Basic Web Page.
HTML-I Basic HTML Elements. HTML (Hyper Text Markup Language) HTML is a document layout and hyperlink- specification language. i.e. a language used to.
XP 1 HTML Tutorial 1: Developing a Basic Web Page.
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
HTML AN INTRODUCTION TO WEB PAGE PROGRAMMING. INTRODUCTION TO HTML With HTML you can create your own Web site. HTML stands for Hyper Text Markup Language.
Q.Nand1 HTML Creating an HTML Document Lesson 2. Q.Nand2 Overview Creating an HTML Document: –HTML syntax –Creating Basic Tags –Displaying Your HTML Files.
Blended HTML and CSS Fundamentals 3 rd EDITION Tutorial 1 Using HTML to Create Web Pages.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Web Engineering Course Code: CSE 417
Presentation transcript:

HTML Introduction Creating a Web Page

HTML: The Language of the Web Web pages are text files, written in a language called Hypertext Markup Language or HTML. A markup language is a language used to describe the contact and format of documents. HTML was developed from the Standard Generalized Markup Language (SGML), a language used for large-scale documents. SGML proved to be cumbersome and difficult, thus HTML was created.

Tools for Creating HTML Documents HTML documents are text files, which a text editor such as Windows NotePad can be used to create. You can also use an HTML converter or an HTML editor. an HTML converter like Microsoft Word takes text in one format and converts it to HTML code an HTML editor helps you create an HTML file by inserting HTML codes for you as you work

Creating an HTML Document heading 1 image horizontal line paragraph list bold and italic text heading 3 It’s always a good idea to plan the appearance of your Web page before you start writing code.

HTML Syntax Document content is what the users sees on the page, such as headings and images. Tags are the HTML codes that control the appearance of the document content. tag is the name of the HTML tag attributes are properties of the tag document content is actual content that appears in the Web page

HTML Tags Tags can be one-sided or two-sided. two-sided tags contain an opening tag <b> that tells the browser to turn on a feature and apply it to the contact that follows, and a closing tag </b> that turns off the feature one-sided tags are used to insert noncharacter data into the Web page, such as a graphic image or video clip <tag attribute> Tags are not case sensitive. The current standard is to display all tags in lowercase letters.

Example: <h1>Mr. Dube’s Chemistry Classes</h1> HTML Tag Format 1. Tags can always be identified by the Brackets < > that enclose the tag name 2. Opening Tag < > tells the browser to turn on the feature Tag Name – macro-like feature Properties – additional information placed within brackets that control how the tag is used 3. Closing Tag </ > tells the browser to turn off the feature <Tag Name Properties> Document Content </Tag Name> Example: <h1>Mr. Dube’s Chemistry Classes</h1>

Initial HTML Tags <html> <head> <title> Web Page Name </title> </head> <body> Document Content </body> </html>

Saving and Displaying Web Page Start Notepad Create Initial Tags After the <body> tag add: Your Name Your Major “This is my first web page that I’ve created using HTML and Notepad. After I create this page, I’ll save it as an example of HTML coding.” Save-As First_Program.htm (typically you will save in your wwwpub folder) Close file and exit Notepad Open the Internet Explorer file

Making Changes to Web Pages Open your Internet Explorer file (First_Program.htm) Select View Select Source (opens Notepad) Make the desired changes in Notepad Save HTML changes in Notepad View the changes by selecting Refresh on the Internet Explorer screen Close Notepad and Internet Explorer Note: Always save Notepad DO NOT save the Internet Explorer pages

Creating Heading Tags HTML supports six levels of headings, numbered <h1> through <h6>, with <h1> being the largest and most prominent. Headings are always displayed in a bold font.

Entering Heading Tags and Text As of HTML 3.2, the heading tag can contain additional attributes, one of which is the alignment attribute.

Headings As They Appear in the Browser

Header Examples

Paragraphs <html> <head> <title> Mr. Dube’s Chemistry Class </title> </head> <body> <h1 align=“center”>Mr. Dube’s Chemistry Classes</h1> <h2 align=“center”>at Robert Service High School</h2> <p>Welcome to Mr. Dube’s Web Site. I hope you will use this site to learn more about your class, my expectations, and chemistry in the world around you.</p> <h2 Chemistry Classes</h2> <h2>Class Policies</h2> <h3>Grading</h3> <h3>Appointments</h3> <h3>Safety</h3> </body> </html> If you are using a test editor like NotePad, the text might not wrap to the next line automatically. Selecting the Word Wrap command within NotePad will allow you to see all the text on your screen.

Paragraph Text in the Browser

Creating Lists HTML supports three kinds of lists: an ordered list, which is used to display information in a numeric order an unordered list, which list items are not listed in a particular order i.e. bullets a definition list, which is a list of terms, each followed by a definition line that is typically indented slightly to the right

Creating Lists HTML supports three kinds of lists: Ordered: Unordered: Definition:

Ordered List <ol> <li>Cream together butter and sugar ORDERED LIST: <ol Option>…</ol>   COMPACT START=Value TYPE=(A | a | I | i| 1)  LIST ITEM: <li Option> - used in Ordered List and Unordered List <h3>Banana Nut Bread:</h3> <ol> <li>Cream together butter and sugar <li>Sift flour, baking soda and salt <li>Add nuts and mashed bananas </ol>

Unordered List <ul> <li>Cannelloni <li>Lasagna  UNORDERED LIST: <ul Option>…</ul>   COMPACT TYPE=(CIRCLE | DISC | SQUARE) <h3>Pasta Perfection:</h3> <ul> <li>Cannelloni <li>Lasagna <li>Linguine <li>Manicotti </ul>

Definition List <dl> <dt>HTML </dl>  DEFINITION LIST: <dl>…</dl> - list of terms   COMPACT a.     DEFINITION TERM <dt> b.     TERM DEFINITION <dd> <dl> <dt>HTML <dd>Hypertext Markup Language </dl>

Applying Character Tags Italic <i> </i> and bold <b> </b> character tags If you support users with older browsers, you should use a logical tag. Otherwise, use physical tags, which are more common and easier to interpret.

The Effect of the Character Tags in the Browser text formatted with bold and italic

Physical Character Tags

Special Characters and Codes

Inserting Horizontal Lines A horizontal line can improve the appearance of a Web page. The syntax for creating a horizontal line is: <hr align=“align” size=“size” width=“width” color=“color” noshade> align specifies the horizontal alignment of the line on the page (center, left, or right) size specifies the height of the line in pixels or percentage of the screen width width indicates the width of the line in pixels or percentage of the screen width color indicates the color of the line noshade specifies that the browser display a solid line

Different Line Styles size=12 width-100% size=6 width-50% size=3 <hr align=“center” size=“12” width=“100%”> <hr align=“center” size=“6” width=“50%”> size=6 width-50% <hr align=“center” size=“3” width=“25%”> size=3 width-25% size=1 width-10% <hr align=“center” size=“1” width=“10%”> You can use line styles to improve the appearance of your Web page.

Inserting a Graphic dube.jpg Image file use the <p> tag so you can center the image

The Image File as it Appears in the Browser

Patrick’s Resume Summary Birthday is 12-22-96 Activities Skills                                          Birthday is 12-22-96 Summary I like to play with my brother Matthew and work on our computer. I played soccer for the last two years, and I'm looking forward to playing again this year. This summer, Matthew and I went to Florida on an airplane. In Florida we went to Disneyworld and I went on lot's of rides. Activities Watching the Stars play hockey Building Lego towers Teaching Matthew all the 'good' things Going to Granddad's to feed the horse Skills Soccer My alphabet Printing my name Computer learning games

Patrick’s Resume HTML <HTML> <HEAD> <TITLE>Patrick's Resume</TITLE> </HEAD> <BODY> <H1 ALIGN=CENTER>Patrick's Resume</H1> <P ALIGN=CENTER><IMG SRC="Patrick.jpg" WIDTH="125" HEIGHT="150"></P> <H3 ALIGN=CENTER>Birthday is 12-22-96</H3> <H2 ALIGN=CENTER>Summary</H2> I like to play with my brother Matthew and work on our computer. I played soccer for the last two years, and I'm looking forward to playing again this year. This summer, Matthew and I went to Florida on an airplane. In Florida we went to Disneyworld and I went on lot's of rides. <H3>Activities</H3> <OL> <LI>Watching the Stars play hockey <LI>Building Lego towers <LI>Teaching Matthew all the 'good' things <LI>Going to Granddad's to feed the horse </OL> <H3>Skills</H3> <UL> <LI>Soccer <LI>My alphabet <LI>Printing my name <LI>Computer learning games </UL> </BODY> </HTML> Patrick’s Resume HTML