Working with HTML. must appear at the very beginning of your webpage. starts the first section of your page

Similar documents
A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

CSC 121 Computers and Scientific Thinking

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

A Balanced Introduction to Computer Science, 3/E

HTMLnotesS15.notebook. January 25, 2015

HTML Tags <A></A> <A HREF=" CNN </A> HREF

Lesson: 6 Database and DBMS an Introduction. Lesson: 7 HTML Advance and features. Types of Questions

Html basics Course Outline

Web Page Creation Part I. CS27101 Introduction to Web Interface Design Prof. Angela Guercio

Part 1: HTML Language HyperText Make-up Language

</HTML> </HEAD> </BODY> </TITLE> </I> </B> </U> </BLINK> </EM> </FONT> </FONT> </CENTER> </H1> </H2> </H3> </P> </BR> --!>

I-5 Internet Applications

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

Computer Programming. Dr. Deepak B Phatak Dr. Supratik Chakraborty Department of Computer Science and Engineering IIT Bombay

Introduction to Computers and Their Applications

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Web Publishing with HTML

HTML Hints & Tips. HTML is short for HyperText Markup Language.

Creating A Web Page. Computer Concepts I and II. Sue Norris

11. HTML5 and Future Web Application

Creating Web Pages. Getting Started

UNIT II Dynamic HTML and web designing

c122jan2714.notebook January 27, 2014

All Creative Designs. Basic HTML for PC Tutorial Part 2 Using MS Notepad Revised Version May My First Web Page

This booklet is knowledge of. a web page. of a web page find what you. you want to. SiteSell offers. Introduction

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

Desire2Learn: HTML Basics

Shatin Tsung Tsin Secondary School S.3 Computer and Technology Web Page Design by HTML Introduction to HTML

HTML Hyper Text Markup Language

Creating Web Pages Using HTML

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

CSE 3. Marking Up with HTML. Comics Updates Shortcut(s)/Tip(s) of the Day Google Earth/Google Maps ssh Anti-Spyware

APPENDIX THE TOOLBAR. File Functions

Vernalis Date: A webpage displays a picture. What tag was used to display that picture? a. picture b. image c.

1.264 Lecture 12. HTML Introduction to FrontPage

5/17/2009. Marking Up with HTML. An HTML Web Page File. Tags for Bold, Italic, and underline. Structuring Documents

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

Introduction to HTML. SSE 3200 Web-based Services. Michigan Technological University Nilufer Onder

By Ryan Stevenson. Guidebook #2 HTML

HTML Images - The <img> Tag and the Src Attribute

COMPUTER APPLICATIONS 10. HTML - Structural Tags SECTION-B

Geocaching HTML & BBCode FUNdamentals by Scott Aleckson (SSO JOAT)

Using Dreamweaver CS6

Advanced Web Programming C2. Basic Web Technologies

A Brief Introduction to HTML

Chapter 4: Marking Up With HTML: A Hypertext tmarkup Language Primer

Comp-206 : Introduction to Software Systems Lecture 22. Alexandre Denault Computer Science McGill University Fall 2006

What You Will Learn Today

How the Internet Works

HTTP & Websites. Web Browsers. Web Servers vs. Web sites. World Wide Web. Internet Explorer. Surfing the World Wide Web. Part 4. The World Wide Web

Using Dreamweaver 2 HTML

Marking Up with HTML. Tags for Bold, Italic, and underline. An HTML Web Page File. Chapter 4: Marking Up With HTML: A. Formatting with Tags:

MMGD0204 Web Application Technologies. Chapter 3 HTML - TEXT FORMATTING

ITL Public School Mid Term examination ( )

CSC Web Programming. Introduction to HTML

CIS 228 (Fall, 2012) Exam 2, 11/20/12

The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data.

Chapter 4. Introduction to XHTML: Part 1

1. The basic building block of an HTML document is called a(n) a. tag. b. element. c. attribute. d. container. Answer: b Page 5

Management Information Systems

Web Development and Design Foundations with HTML5 8th Edition

Introduction to Computer Science (I1100) Internet. Chapter 7

Introduction to HTML. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island

Certified HTML5 Developer VS-1029

<! - - S T W i n g - - > Minicourses. HTML Basics. October 1, 2005 Armand O'Donnell Electrical Engineering '07

Web Design 101. What is HTML? HTML Tags. Web Browsers. <!DOCTYPE html> <html> <body> <h1>my First Heading</h1> <p>my first paragraph.

I. Crossword. II. Who am I? I am an attribute which specifies a position in the web page where the linked document is to be opened.

HYPERTEXT MARKUP LANGUAGE ( HTML )

Country Communication Pages

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

Certified HTML Designer VS-1027

WTAD Text Editors for HTML. Text Editors: Kate HTML. (HyperText Markup Language)

Layout Manager - Toolbar Reference Guide

Tables *Note: Nothing in Volcano!*

WTAD. Unit -1 Introduction to HTML (HyperText Markup Language)

The City School. Prep Section. ICTech. 2 nd Term. PAF Chapter. Class 8. Worksheets for Intervention Classes

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

The City School. Prep Section. ICTech. 2 nd Term. PAF Chapter. Class 7. Worksheets for Intervention Classes

Basic HTML. Lecture 14. Robb T. Koether. Hampden-Sydney College. Wed, Feb 20, 2013

4.00 Use word processing software with alternative input devices Demonstrate basic word processing concepts and functions.

Summary 4/5. (contains info about the html)

Indian Institute of Technology Kharagpur. HTML Part III. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T.

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page.

10 Marking Scheme Foundation of Information Technology

Web Development & Design Foundations with XHTML. Chapter 2 Key Concepts

Tutorial 2 - HTML basics

How to Make a Homepage using

Hyper Text Markup Language

Page Layout Using Tables

SEVENTH-DAY ADVENTIST HIGHER SECONDARY SCHOOL 132FT. RING ROAD, HARIPURA, MANINAGAR 08

Hyper Text Markup Language HTML: A Tutorial

Learning Basic HTML: Workshop Session One (Prepared by James F. Daugherty, The University of Kansas)

Hyper Text Markup Language

Introduction to FrontPage 2002

Cadbury World Themed Web Page

Lab 3. CSE 3, Summer 2010 In this lab you will learn and implement some basic html.

Introduction to HTML

Unit 2 - HTML Formatting

Transcription:

CSC105 Manual 27 Working with HTML Learning the Tags <HTML> <HEAD> <TITLE> </HEAD> <BODY> must appear at the very beginning of your webpage starts the first section of your page Enter the title of your Home Page here.</title> ends the first section of your page starts the second section of your page Enter the text of your Home Page here. </BODY> </HTML> ends the second section of your page must appear at the very end of your webpage REMEMBER: when you open a tag, you need to close it TREAT THEM LIKE QUOTES.

CSC105 Manual 28 Simple Example of a Homepage <HTML> <HEAD> </HEAD> <BODY> Welcome to my home page. </BODY> </HTML> <TITLE>Laurie Patterson s Home Page</TITLE> <BODY> Welcome to my home page. </BODY> Puts the name at the top: Puts infomation in the main part of the screen: Body Text: Headings: <h1>heading 1</h1> <h2>heading 2</h2> <h3>heading 3</h3> EXAMPLE: Heading 1 Heading 2 Heading 3 <h4>heading 4</h4> Heading 4 <h5>heading 5</h5> Heading 5 <h6>heading 6</h6> Heading 6 After a heading line, you don't need to include a <br> or <p> tag the heading tag automatically adds a return and blank line beneath it.

CSC105 Manual 29 Type Characteristics: EXAMPLE <b>text</b> Bold is added: text <i>text</i> Italics is added: text <u>text</u> Underline is added text <b><i><u>text</u></i></b> Bold, italics, underline added text <strike>text</strike> Text appears crossed-out text <blink>text will blink on and off</blink> <sup>text</sup> text is raised <sub>text</sub> text is lowered <blockquote> Text surrounded by a </blockquote> <center>centers The Text</center> BLINK only works in Netscape. Adds superscript Adds subscript Text is indented Text will blink on and off. text text is raised text text is lowered Text followed by a indented paragraph Centers The Text Ending a Line text<p> text<br> Adds a hard return and a blank line after the text. (Used at the end of a paragraph) Adds a hard return at the end of a line without adding the extra blank line.

CSC105 Manual 30 Scrolling Text <marquee> </marquee> This only works on Internet Explorer Text placed between the marquee tags will scroll across the screen. Additional marquee options: <marquee bgcolor= color code > Adds a color background to the marquee <marquee direction=left> <marquee behavior=???> Scrolls the marquee left; conversely using right, scroll the text right Replace??? With one of the following options: Scroll, continues the text off the screen Slide, stops the text at the edge of the screen Alternate, bounces the text from one side to the other Creating Lists Unordered Lists <ul> </ul> Uses bullets Examples: <ul> </ul> <ul type=square> </ul> <ul type=round> </ul> text text text text text text

CSC105 Manual 31 Ordered Lists <ol> Uses numbers Examples: <ol> <ol> <li start=7>text <ol TYPE=A> or lower case <ol TYPE=I> or lower case 1. text 2. text 7. text A. text I. text Changing the Background <body bgcolor= color > colors: for basic colors, enter the color name ( red ); for other colors visit: background= picture.name in the body tag bgcolor= color in the body tag http://www.se-tel.com/~sarah/colors.html <body background= picture.name >

CSC105 Manual 32 Changing Font Colors for the ENTIRE file <body text= color > text= color in the body tag Treat it the same as the body background <body link= color code > changes the color of a non-vis ited link <body vlink= color code > changes the color of a visited link link= color in the body tag vlink= color in the body tag Combine all body tags into ONE tag. Such as: <body background="image.gif" text="#ffffff"> Changing Font Colors for part of the file <font color= color > Use </font> to return the font color to the default color. Setting Font Sizes Remember that the base font default is a size 3 <Basefont size=#> Use a number 1 through 7 in place of #

CSC105 Manual 33 Text/Graphic Alignment <p align=right> Results in this: To stop right alignment, add the </p> at the end of the right aligned paragraph Align=right can also be used in the header tags. <p align=center> Results in this: To stop center alignment, add the </p> at the end of the center aligned paragraph Align=center can also be used in the header tags. Links <a href= http://www.uncwil.edu >UNCW</a> The a href tag creates a link to the URL listed in quotation marks. The text appearing after the tag shows as the link. Closing tag is: </a> Email connection <a href= mailto:pattersonl@uncwil.edu >Me!</a> The a href tag creates a link to the email address listed in quotation marks. The text appearing after the tag shows as the link. Closing tag is: </a> Graphics/Pictures <img src= picture name > Replace picture name with the name of the graphic. It is EXTREMELY helpful if the picture is in the same location as the htm file.

CSC105 Manual 34 Naming Your File The Extension of the file should either be:.htm or.html Don't use spaces or punctuation in the file name. Keep the file name limited to 8 characters or less (not including the extension) Naming your main file: index.html means that this is the file that will automatically open when connecting to your Web site. Sounds <bgsound src= file name > Replace file name with the sound file. If you do want the music to play indefinitely add to the tag: Loop=infinite If you want the music to play for only a certain number of times, add: Loop=# and replace # with the number of times it should play. EXAMPLE: <bgsound src="stuck.mid" loop=1>

CSC105 Manual 35 Tables Tables are used to place text next to an image or have something resembling columns on your page. <table width=100% border> </table> <table> is the table start tag width=100% added to it means that the table will fill the entire screen from side to side border will show lines around the outside and around each "cell" of the table width and border do NOT have to be included </table> is placed at the END of the table section <tr> </tr> <td> </td> <tr> begins each row of the table </tr> ends each row of the table <td> is used to describe the data that gets placed in each "cell" or column within the table. </td> is the closing tag You use a <td> and a </td> for each "column" of information within a row Example: <table border="1" width="100%"> <tr> <td width="33%">cell 1</td> <td width="33%">cell 2</td> <td width="34%">cell 3</td> </tr> <tr> <td width="33%">cell 4</td> <td width="33%">cell 5</td> <td width="34%">cell 6</td> </tr> </table>