Intro to HTML Basics HTML = Hypertext Mark-up Language HTML = Hypertext Mark-up Language HTML is a plain-text file that can be created using a text editor.

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

Internet Services and Web Authoring (CSET 226) Lecture # 5 HyperText Markup Language (HTML) 1.
Teppo Räisänen LIIKE/OAMK 2010
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Multimedia and the World Wide Web HCI 201 Lecture Notes #5A.
Web-based Application Development Lecture 9 February 7, 2006 Anita Raja.
1 HTML Markup language – coded text is converted into formatted text by a web browser. Big chart on pg. 16—39. Tags usually come in pairs like – data Some.
Web Page Development Identify elements of a Web Page Start Notepad
CM143 - Web Week 2 Basic HTML. Links and Image Tags.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
The Power of Tables They aren't just for sitting stuff on anymore...
Create a Web Site with Frames
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: Frames © 2007 Prosoft Learning Corporation All rights reserved ITD 110 Web Page Design.
Chapter 6 Working with Frames.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 9: HTML Frames.
XP Tutorial 5New Perspectives on HTML, XHTML, and DHTML, Comprehensive 1 Designing a Web Site with Frames Using Frames to Display Multiple Web Pages Tutorial.
XHTML1 Topics Work with the Frameset Document Type Definition (DTD) Create frames Use the target and base attributes Create nested frames Format frames.
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.
CS105 Introduction to Computer Concepts HTML
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
XP 1 Tutorial 5 Using Frames in a Web Site. XP 2 Tutorial Objectives  Describe the uses of frames in a Web site  Lay out frames within a browser window.
XP Using Frames in a Web Site Ali Alfayly. XP Tutorial Objectives Create frames for a Web site Control the appearance and placement of frames Control.
Basic HTML Hyper text markup Language. Re-cap  … - The tag tells the browser that this is an HTML document The html element is the outermost element.
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.
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.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
Understanding HTML Code
Images in HTML PowerPoint How images are used in HTML.
CIS67 Foundations for Creating Web Pages Professor Al Fichera Reference for CIS127 and CIS 137.
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.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Copyright 2006 South-Western/Thomson Learning Chapter 17 Creating and Linking Web Pages.
Tutorial 8 Designing a Web Site with Frames. XP Objectives Explore the uses of frames in a Web site Create a frameset consisting of rows and columns of.
Chapter 12 FRAMES. HOW FRAMES WORK When you view a framed page in a browser, you are actually looking at several HTML documents at once. The key to making.
Just Enough HTML How to Create Basic HTML Documents.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Project 7: Working with Frames Kelly L.
Working with HTML Frames The Good, The Bad & The Ugly.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
CSCE 102 – Chapter 6 (Web Design and Layout) CSCE General Applications Programming Benito Mendoza Benito Mendoza 1 By Benito Mendoza.
HTML: Hyptertext Markup Language Doman’s Sections.
HTML (Hypertext Markup Language) – Class 3 Recap: HTML Special Characters (ex: ©). Including Images – using the tag. Lists – Ordered and Unordered.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
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.
Tutorial 8 Designing a Web Site with Frames. 2New Perspectives on HTML, XHTML, and XML, Comprehensive, 3rd Edition Objectives Explore the uses of frames.
4 Chapter Four Introduction to HTML. 4 Chapter Objectives Learn basic HTML commands Discover how to display graphic image objects in Web pages Create.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
INP 150: Basic HTML Term: Winter 2002 Section: H1 Time: Mon/Wed 5:30- 7:25 pm Place: TI237 Instructor: Paul J. Millis.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
1 HTML Frames
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.
CSE 409 – Advanced Internet Technology 1 DISCUSSION OF BASIC HTML TAGS.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
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.
1 HTML Frames
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
CHAPTER TWO HTML TAGS. 1.Basic HTML Tags 1.1 HTML: Hypertext Markup Language  HTML stands for Hypertext Markup Language.  It is the markup language.
`. Lecture Overview HTML Body Elements Linking techniques HyperText references Linking images Linking to locations on a page Linking to a fragment on.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
1 Foundation of HTML Web Page Design. 2 Safe Web Fonts: Used by most computers regardless of environment or platform  Times New Roman  Arial  Courier.
HTML And the Internet. HTML and the Internet ► HTML: HyperText Markup Language  Language in which all pages on the web are written  Not Really a Programming.
01 – HTML (1) Informatics Department Parahyangan Catholic University.
XHTML Introductory1 Frames Chapter 5. XHTML Introductory2 Objectives In this chapter, you will: Work with the Frameset Document Type Definition (DTD)
HTML Comprehensive Concepts and Techniques Second Edition Creating Frames on a Web Page.
HTML Basics.
Section 4.1 Section 4.2 Format HTML tags Identify HTML guidelines
Introduction to HTML.
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
Presentation transcript:

Intro to HTML Basics HTML = Hypertext Mark-up Language HTML = Hypertext Mark-up Language HTML is a plain-text file that can be created using a text editor like Notepad. HTML is a plain-text file that can be created using a text editor like Notepad. When creating HTML files for the web, make sure you save them as.html – or they wont work. When creating HTML files for the web, make sure you save them as.html – or they wont work.

Overview: Tags As a text document, your HTML in Notepad will contain elements, such as headers, titles, paragraphs, etc. As a text document, your HTML in Notepad will contain elements, such as headers, titles, paragraphs, etc. These elements must be denoted in your script, which is done using tags These elements must be denoted in your script, which is done using tags HTML tags consist of a left angle bracket ( ) HTML tags consist of a left angle bracket ( ) For example: For example: Tags must also close. To do so, you incorporate a slash (/). A starting and ending tag would be: Tags must also close. To do so, you incorporate a slash (/). A starting and ending tag would be:

More Tags Any HTML document should contain certain tags: headings (such as ) - Any HTML document should contain certain tags: headings (such as ) -

Adding Attributes to Tags You can add attributes to tags to enhance your page. You can add attributes to tags to enhance your page. Added attributes go inside the brackets of the opening tag (example: would center the paragraph) Added attributes go inside the brackets of the opening tag (example: would center the paragraph) A list of attributes can be found at developer/reference/tag-table.html A list of attributes can be found at developer/reference/tag-table.html developer/reference/tag-table.html developer/reference/tag-table.html

Colors Background and text colors are attributes of the body of the document. Background and text colors are attributes of the body of the document. text=#xxxxxx determines your text color text=#xxxxxx determines your text color Bgcolor=#xxxxxx determines your background color Bgcolor=#xxxxxx determines your background color Colors and codes for HTML can be found at erence/color_codes/ Colors and codes for HTML can be found at erence/color_codes/ erence/color_codes/ erence/color_codes/

Lists Lists are found inside the body, and are written as for an unordered list, or for an ordered (or numbered) list. Lists are found inside the body, and are written as for an unordered list, or for an ordered (or numbered) list. List items are denoted by and do not require closing tags. List items are denoted by and do not require closing tags.

Links The biggest thing that made HTML so popular was its ability to link to other documents or sections of documents. The biggest thing that made HTML so popular was its ability to link to other documents or sections of documents. A link is indicated by (anchor). A link is indicated by (anchor). The text that will become the link is identified with by (hyperlink reference). The text that will become the link is identified with by (hyperlink reference).

More Links An example link would be: Link to document An example link would be: Link to document This would make the phrase Link to document a hyperlink to document.html assuming that it is in the same directory as your current file. This would make the phrase Link to document a hyperlink to document.html assuming that it is in the same directory as your current file. If the document is in a different directory, you need to include it in the path. For example: If the document is in a different directory, you need to include it in the path. For example:

More Links If you wish to make an external link, you have to write out the full URL. I recommend opening the page you want in a browser, then copying and pasting the URL. This prevents you from unnecessary typing or messing up. If you wish to make an external link, you have to write out the full URL. I recommend opening the page you want in a browser, then copying and pasting the URL. This prevents you from unnecessary typing or messing up. For example: For example: 2/index.htmlhttp:// 2/index.html Just make sure that when you paste it in, you add the quotes (). Just make sure that when you paste it in, you add the quotes ().

The href mailto: function mailto: Another function of href can be to provide users with an opportunity to send you . Another function of href can be to provide users with an opportunity to send you . An example: An example: The full text, with something to link the function to would be: Send me an The full text, with something to link the function to would be: Send me an

Adding Images I suggest you make a folder for images in your directory – it will make it easier to refer to things. I suggest you make a folder for images in your directory – it will make it easier to refer to things. The tag will allow you to insert an image. ??????? Should be the path to the image file. The tag will allow you to insert an image. ??????? Should be the path to the image file. For example: if the image named sample is in the same directory as your html file. For example: if the image named sample is in the same directory as your html file.

Images as Links You can also href an image the same way you would with text, by including the in place of the text between the href anchors. You can also href an image the same way you would with text, by including the in place of the text between the href anchors. For example: For example: Or, you could in place of the website. Or, you could in place of the

Tables Refer to table of table attributes Refer to table of table attributes

Frames A Frame document is very much like a normal HTML document, but the Body container is replaced by the Frameset container. A Frame document is very much like a normal HTML document, but the Body container is replaced by the Frameset container. Any tags that would normally be in the body cannot come before the Frameset tag, or it will be ignored. Any tags that would normally be in the body cannot come before the Frameset tag, or it will be ignored.

Frame attributes Rows: -Simple numbers mean pixel size -% means percentage value (ie: 33%) Rows: -Simple numbers mean pixel size -% means percentage value (ie: 33%) Columns: -Function just like rows Columns: -Function just like rows

Single Frames defines a single frame in a frameset. defines a single frame in a frameset. This tag has 6 possible attributes: -SRC -Name -Margin Width -Margin Height -Scrolling -No Resize This tag has 6 possible attributes: -SRC -Name -Margin Width -Margin Height -Scrolling -No Resize

SRC This attribute takes the URL of the site you want to display in the frame as its value. This attribute takes the URL of the site you want to display in the frame as its value. A frame without an SRC value will be displayed as a blank space. A frame without an SRC value will be displayed as a blank space.

Name This attribute lets you name your frame so that it can be targeted by links in other documents. This attribute lets you name your frame so that it can be targeted by links in other documents. If you choose to name your frames, they must begin with letters or numbers, no symbols. If you choose to name your frames, they must begin with letters or numbers, no symbols.

Marginwidth This attribute gives you control of the width of your frames. This attribute gives you control of the width of your frames. The value is in pixels, so will be a frame 170 pixels wide. The value is in pixels, so will be a frame 170 pixels wide. Leaving out the marginwidth will allow the browser to determine the width of your frame. Leaving out the marginwidth will allow the browser to determine the width of your frame.

Marginheight Just like marginwidth, only vertically inclined. Just like marginwidth, only vertically inclined.

Scrolling This allows you to determine if there should be a scrollbar in your frame. This allows you to determine if there should be a scrollbar in your frame. Scrolling has 3 values: yes, no, and auto. -Yes means there is always a bar, no means there is never one, and auto means it will be automatically determined. Scrolling has 3 values: yes, no, and auto. -Yes means there is always a bar, no means there is never one, and auto means it will be automatically determined. You dont have to include scrolling, the default is auto. You dont have to include scrolling, the default is auto.

Noresize This has no value (numerically, I mean) – it just indicates to the browser that the user has no control over the size of the frame. This has no value (numerically, I mean) – it just indicates to the browser that the user has no control over the size of the frame. This is also optional, and without it, the frame will be resizable. This is also optional, and without it, the frame will be resizable.

A note on these attributes These attributes are included in the and are separated by commas. These attributes are included in the and are separated by commas. Example: Example: