2004-2005 Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction.

Slides:



Advertisements
Similar presentations
Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
Advertisements

HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
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 popo.
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Cascading Style Sheets. CSS stands for Cascading Style Sheets and is a simple styling language which allows attaching style to HTML elements. CSS is a.
End User Computing An Introduction to CSS Sujana Jyothi Research Lab1, Callan Building, Department of Computer Science
Building a Website: Cascading Style Sheets (CSS) Fall 2013.
Web Pages and Style Sheets Bert Wachsmuth. HTML versus XHTML XHTML is a stricter version of HTML: HTML + stricter rules = XHTML. XHTML Rule violations:
กระบวนวิชา CSS. What is CSS? CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to.
CIS101 Introduction to Computing HTML Project Two.
 2008 Pearson Education, Inc. All rights reserved. 1 Introduction to HTML.
Computer Science 1611 Internet & Web Creating Webpages with Style Hypertext and the HTML Markup Language (continued)
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.
HTML. Goals How to use the Komodo editor HTML coding and testing Basic HTML tags List and Images Tables and Links At least 2 pages and navigation
Images and Tables. Displaying Image Attributes: SRC= " mypic.gif " – Name of the picture file SRC= " pic/mygif.jpg " – Name of file found in pic directory.
Web Page Creation Part II ST: Introduction to Web Interface Design Prof. Angela Guercio.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
CS105 Introduction to Computer Concepts HTML
Presenting Information on WWW using HTML. Presenting Information on the Web with HTML How Web sites are organized and implemented A brief introduction.
What is HTML ? HyperText Markup Language. The authoring language of the Web is currently HTML, which stands for HyperText Markup Language. Future versions.
Chapter 2: The Client Side: HTML CIS 275—Web Application Development for Business I.
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)
Informatics Computer School CS114 Web Publishing HTML Lesson 2.
Dr. Nuha El-KhaliliInternet Programming ( ) HTML Hyper Text Markup Language The language of web pages Maintained by the W3C
Understanding HTML Code
 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.
McGraw-Hill/Irwin Copyright © 2013 by The McGraw-Hill Companies, Inc. All rights reserved. Extended Learning Module F Building a Web Page with HTML.
HTML Comprehensive Concepts and Techniques Second Edition Project 2 Creating a Web Site with Links.
F-1 Management Information Systems for the Information Age Copyright 2004 The McGraw-Hill Companies, Inc. All rights reserved Extended Learning Module.
Unit 1 — HTML BASICS Lesson 2 — HTML Organization Techniques.
Basic HTML Workshop By: Preeda Chunjongkolkul (Pete) Systems Librarian/Webmaster
DHTML AND JAVASCRIPT Genetic Computer School LESSON 2 HTML TAGS G H E F.
Department of Information Technology Chapter 8 - Creating Hypertext links Lecturer: Ms Melinda Chung.
Creating Web Pages with Links, Images, and Formatted Text
1 Labels and Tags October 14, Grammar A set of components and rules that define a method/means of communication among objects. Components are.
1 Web Developer Foundations: Using XHTML Chapter 4 Key Concepts.
1 Web Developer & Design Foundations with XHTML Chapter 4 Key Concepts.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
Chapter 4 BIE1313/BPROG1203 | Web design Prepared by Mohamed Abdulkarim / Mike Ng Ah Ngan.
Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction.
Chapter 2 Web Page Design Mr. Gironda. Elements of a Web Page These are things that most web pages use.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Adding Graphical Elements Essentials for.
HTML Lesson 3 Hyper Text Markup Language. Assignment Part 2  Set the file name as “FirstName2.htm”  Set the title as “FirstName LastName First Web Site”
HTML. Adding Background Color The bgcolor attribute lets you change the background color of the Web page. Located in the body tag See common Web Page.
HTML(Hyper Text Markup Language) ByNaveen. Introduction HTML or Hyper Text Markup Language is the standard markup language Its used to create the web.
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: … …
1 Start TextEdit. 2 Creating a Home Page  A home page is the main page of a Web site –Visitors usually view the home page first –Identify the purpose.
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
ECA 228 Internet/Intranet Design I HTML Tags. ECA 228 Internet/Intranet Design I anchor tags Adds a link to the web page Anything placed between the anchor.
REEM ALMOTIRI Information Technology Department Majmaah University.
Introduction to Web Authoring Ellen Cushman /wra210.htm Class mtg. #2.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
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.
Part 4 Text & Fonts © UNT in partnership with TEA1IT: Web Technologies - HTML Scripting.
HTML Basics.
What is HTML? Acronym for: HyperText Markup Language
LAB Work 01 MBA 61062: E-Commerce
Tag Basics.
COMPUTING FUNDAMENTALS
Creating a Web Site with Links
Font tag and its attributes
HTML (Hypertext Markup Language )
Introduction to HTML.
Presentation transcript:

Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction to Computing I Lesson 5

Review of Last Lesson Colors HTML Colors Colors HTML Colors HTML allows a wide range of colors. These colors can be represented in a hexadecimal form (called sRGB) or in a named form. Some basic color codes are: Black: # Black: # Red: #FF0000 Green: #00FF00Blue: #0000FFYellow:#FFFF00Aqua(Cyan): #00FFFFFuchsia(Magenta): #FF00FFGray: #C0C0C0White: #FFFFFF</body></html>

Background Image Change the part of your html code to: Header tags produce different sized headings.

and tags and tags Use and tags to have paragraphs and line breaks so that your list looks tidy. Also use align parameter of tag to allign some parts if you feel necessary.

Seperating the text with (horizontal rule) Insert or tag to create a horizontal rule. Try to add one or more of these parameters: width=number / number%, size=number, noshade, align=left / right / center, color=name / #hex code for RGB

Adding a entity Add a nonbreaking space entity to the “HTML Colors” so that the space between HTML and Colors is larger Add a nonbreaking space entity to the “HTML Colors” so that the space between HTML and Colors is larger

Acronym tag We have a acronym sRGB, create a defintion for it. sRGB sRGB

Font Change the font of your HTML output. Some Font Faces: Arial Arial Comic Sans MS Comic Sans MS Georgia Georgia Times New Roman Times New Roman Tahoma Tahoma Verdana Verdana Font Sizes: font size 1 font size 2 font size 3 font size 4 font size 5 font size 6 font size 7

Font Change the color of each sRGB value to its value. Change the color of each sRGB value to its value.

Scrolling Text (Marquee) If you use alot: annoying. If you use alot: annoying. HTML Colors HTML Colors Change the values to see the effect.

Marquee Parameters width=100/50% bgcolor=name/#HEX loop=number/infinite direction=left/right scrolldelay=number (number of pixels to move the text with each successive redraw) scrollamount=10 (number of milliseconds between redraws)

Lists There are 3 kinds of lists There are 3 kinds of lists Bulleted (Unordered) Bulleted (Unordered) Numbered Numbered Definition Definition

Bulleted Lists (Unordered Lists)... Tag defines bulleted lists.... Tag defines bulleted lists. Using type attribute you can select from Using type attribute you can select from Disk bullets Disk bullets Circle bullets Circle bullets Square bullets Square bullets tag: initiates an unordered list. tag: is creating list header. (opt) tag: each item. tag: initiates an unordered list. tag: is creating list header. (opt) tag: each item. </ul>

Bulleted Lists <ul> Some basic color codes are Some basic color codes are Black: # Black: # Red: #FF0000 Red: #FF0000 Green: #00FF00 Green: #00FF00 Blue: #0000FF Blue: #0000FF Yellow:#FFFF00 Yellow:#FFFF00 Aqua(Cyan): #00FFFF Aqua(Cyan): #00FFFF Fuchsia(Magenta): #FF00FF Fuchsia(Magenta): #FF00FF <li>Gray: #C0C0C0</li><li>White: #FFFFFF</li></ul>

More Levels! <li>Yellow:#FFFF00 Light Yellow Light Yellow Lighter Yellow Lighter Yellow </li>

Bullet Type Disk bullets: disk Disk bullets: disk Circle bullets: circle Circle bullets: circle Square bullets: square Square bullets: square

Numbered Lists (Ordered Lists)... Tag defines numbered lists.... Tag defines numbered lists. Using type attribute you can select from Using type attribute you can select from 1 A a I i tag: initiates an unordered list. tag: is creating list header. (opt) tag: each item. tag: initiates an unordered list. tag: is creating list header. (opt) tag: each item. </ol>

<ol> Some basic color codes are Some basic color codes are Black: # Black: # Red: #FF0000 Red: #FF0000 Green: #00FF00 Green: #00FF00 Blue: #0000FF Blue: #0000FF <li>Yellow:#FFFF00 Light Yellow Light Yellow Lighter Yellow Lighter Yellow </li> Aqua(Cyan): #00FFFF Aqua(Cyan): #00FFFF Fuchsia(Magenta): #FF00FF Fuchsia(Magenta): #FF00FF <li>Gray: #C0C0C0</li><li>White: #FFFFFF</li></ol>

Ordered List Types 1 A a I i

Definition Lists... creates a definition list... creates a definition list definition term definition term definition data tags definition data tags

Create a new file for this, do not lose old data. Create a new file for this, do not lose old data.

Definition Lists definition list example Following is an example for "Definition List" URL URL means Uniform Resource Locator. HTTP HTTP means HyperText Transfer Protocol. FTP FTP means File Transfer Protocol. SMTP SMTP means Send Mail Transfer Protocol. definition list example Following is an example for "Definition List" URL URL means Uniform Resource Locator. HTTP HTTP means HyperText Transfer Protocol. FTP FTP means File Transfer Protocol. SMTP SMTP means Send Mail Transfer Protocol.

You can add a list inside another <li>Yellow:#FFFF00 Light Yellow Light Yellow Lighter Yellow Lighter Yellow </li> Change the tag to Change the tag to

Image You can add Images to your HTML pages. You can add Images to your HTML pages. There are 2 standard graphic file formats that most browsers supports: GIF and JPG. There are 2 standard graphic file formats that most browsers supports: GIF and JPG. GIF supports 256 colors. Graphical images are best viewed in GIF file type. GIF supports 256 colors. Graphical images are best viewed in GIF file type. JPG supports 16 million colors. Photographical images are best viewed in JPG file type. JPG supports 16 million colors. Photographical images are best viewed in JPG file type.

Image Image Download and place it to the same directory of your html document. Download and place it to the same directory of your html document. Add this line to the top of your html page Add this line to the top of your html page

Image Parameters src src This attribute is required for every IMG element. It specifies a URL for the image resource This attribute is required for every IMG element. It specifies a URL for the image resource alt alt This is used to provide a text description of the image and is vital for interoperability with speech-based and text only user agents. This is used to provide a text description of the image and is vital for interoperability with speech-based and text only user agents. align align This specifies how the image is positioned relative to the current textline in which it occurs: This specifies how the image is positioned relative to the current textline in which it occurs: align=top positions the top of the image with the top of the current text line. align=top positions the top of the image with the top of the current text line. align=middle aligns the middle of the image with the baseline for the current textline. align=middle aligns the middle of the image with the baseline for the current textline. align=bottom is the default and aligns the bottom of the image with the baseline. align=bottom is the default and aligns the bottom of the image with the baseline. align=left floats the image to the current left margin align=left floats the image to the current left margin align=right floats the image to the current right margin align=right floats the image to the current right margin width width height height border border hspace This can be used to provide white space to the immediate left and right of the image. hspace This can be used to provide white space to the immediate left and right of the image. vspace This can be used to provide white space above and below the image vspace This can be used to provide white space above and below the image

Some Examples of Image

Anchor Anchor We said, HTML allows hyperlinks, the anchor tag is what allows hyperlinking. We said, HTML allows hyperlinks, the anchor tag is what allows hyperlinking. Two versions: Two versions: Internal hyperlink Internal hyperlink External hyperlink External hyperlink

Anchor Parameters Anchor parameters are Anchor parameters are name name Name parameters allows a named anchor for internal hyperlinks Name parameters allows a named anchor for internal hyperlinks href href If href is used on an anchor the anchored text is now clickable and goes to the destination specified on href. If href is used on an anchor the anchored text is now clickable and goes to the destination specified on href. title title The title of anchor, mostly displayed on status bar when the mouse is over the hyperlink. The title of anchor, mostly displayed on status bar when the mouse is over the hyperlink. Target Target Where the link is opened? Where the link is opened? _blank: new window _blank: new window

Anchor Internal Hyperlink <h2>Content:</h2> Introduction Introduction Chapter 1 Chapter 1 Chapter 2 Chapter 2 Introduction: This is introduction part content. Introduction: This is introduction part content. </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p> Chapter 1: This is Chapter 1 content Chapter 1: This is Chapter 1 content </p><p> </p><p> </p><p> </p> <p> </p><p> </p><p> </p> Chapter 2: This is Chapter 2 content Chapter 2: This is Chapter 2 content </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p>

Internal Hyperlink Content: Content: Introduction Introduction Chapter 1 Chapter 1 Chapter 2 Chapter 2 Introduction: This is introduction part content. Introduction: This is introduction part content. </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p> back back Chapter 1: This is Chapter 1 content Chapter 1: This is Chapter 1 content </p><p> </p><p> </p><p> </p> <p> </p><p> </p><p> </p> back back Chapter 2: This is Chapter 2 content Chapter 2: This is Chapter 2 content </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p><p> </p> back back

External Hyperlink Google Google To open in different windows Google Google To open in same window {just give a name} Google Google Yahoo Yahoo

Opening default editor click here to send a mail to me click here to send a mail to me Well what if a user doesn’t have an program like Outlook Express or Eudora? Well what if a user doesn’t have an program like Outlook Express or Eudora? This will not work. This will not work.

An Image Link! </a>

EOL