Font tag and its attributes

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 popo.
CREATED BY : VIRAL M.KORADIYA. Anchor elements are defined by the element. The element accepts several attributes, but either the Name or HREF attribute.
HTML popo.
Internet Applications Development Lecture 3 L. Obead Alhadreti.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 4 Key Concepts 1 Copyright © Terry Felke-Morris.
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.
กระบวนวิชา 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.
HTML Tags. Bolding Text Or Italics Text Or
Tutorial 3 – Designing a Web Page Working with Color & Graphics Mrs. Wilson.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 4: Horizontal Rules and Graphical Elements.
1 Outline 9.1Introduction 9.2Markup Languages 9.3Editing HTML 9.4Common Tags 9.5Headers 9.6Text Styling 9.7Linking 9.8Images 9.9Formatting Text With 9.10Special.
 2001 Deitel & Associates, Inc. All rights reserved. 1 Outline 9.1Introduction 9.2Markup Languages 9.3Editing HTML 9.4Common Tags 9.5Headers 9.6Text Styling.
Computer Science 1611 Internet & Web Creating Webpages with Style Hypertext and the HTML Markup Language (continued)
Style sheets can also affect the BODY. style4.css BODY {BACKGROUND-COLOR : white} H1 {COLOR : red; FONT-SIZE : 50; FONT-FAMILY : arial} H2 {COLOR : green}
Style sheets can also affect the body. style4.css body {background-color : white} h1 {color : red; font-size : 50; font-family : arial} h2 {color : green}
Academic Year, Spring Semester Bilkent University - Faculty of Art, Design and Architecture Department of Communication and Design CS 153 Introduction.
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. 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
HTML. Creating a Table Attributes: border: indicates the border type of the table Value: 0 (no border), 1, 2, etc. cols: indicates the number of columns.
INTRODUCTION TO WEB DEVELOPMENT AND HTML Lecture 06: Tables - Spring 2011.
1 The Structure of a Web Table beginning of the table structure first row of three in the table end of the table structure table cells You do not need.
ULI101: XHTML Basics (Part III) Introduction to XHTML / Continued … Block-Level vs. Inline Elements (tags) Manipulating Text,  , Text Characteristics,,,,,,,,,,,,,,,
CS105 Introduction to Computer Concepts HTML
Colors, Images, & Image Maps. Working with Color Colors are defined in terms of RGB Triplet –Red, Green, Blue –0 to 255 in intensity –(00, 00, 00) is.
Copyright © 2004 ProsoftTraining, All Rights Reserved. Lesson 4: Horizontal Rules and Graphical Elements © 2007 Prosoft Learning Corporation All rights.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
1 CSC 121 Computers and Scientific Thinking David Reed Creighton University HTML and Web Pages.
More Basic HTML. Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features Add alignments.
Exploring Office 2003 – Grauer and Barber Enhancing the Web Page Chapter 3 BCIS 1405 Session 15.
More Basic XHTML Module 2: XHTML Basics LESSON 2.
Department of Information Technology Chapter 8 - Creating Hypertext links Lecturer: Ms Melinda Chung.
Web111a_chapt03.ppt HTM: Section 3 Colors Selecting Colors Methods Color names Color values Color Names 16 Basic Color Names HTML 3.05, Figure 3-2 Extended.
15.2 More Basic HTML. More Basic HTML Add spacing (single & double space) Save Refresh Add horizontal rule Add comments Add styles Add headings Add features.
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
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.
Copyright (c) 2004 Prentice-Hall. All rights reserved. 1 Committed to Shaping the Next Generation of IT Experts. Adding Graphical Elements Essentials for.
TABLES 1. In this chapter you will learn that tables have many uses in HTML. Objectives: Upon completing this section, you should be able to: 1. Insert.
TABLES 1. In this chapter you will learn that tables have many uses in HTML. Objectives: Upon completing this section, you should be able to: 1. Insert.
Internet Applications Development Lecture 4 L. Obead Alhadreti.
1 CHAPTER 03: GOING FURTHER By Tharith Sriv. This chapter covers the following topics:  Flying texts or images  Using Comment  Using tag  Using …
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) Lecture II. Review Writing HTML files for web pages – efficient compact – fundamental. Text files with htm extension.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
REEM ALMOTIRI Information Technology Department Majmaah University.
1 HTML. 2 Full forms WWW – world Wide Web HTTP – Hyper Text Transfer Protocol HTML – Hyper Text Markup Language.
Revision Webpage design HTML.   FACE  Attributes  Marquee  Define the following terms.
LESSON 2 Module 2: XHTML Basics More Basic XHTML.
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
HTML <table> tag syntax: <table> </table>
Linking With Graphics INP150: Basic HTML March 25, 2002.
GRAPHICS(IMAGES) Explained By: Sarbjit Kaur.
Tag Basics.
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Web Development & Design Foundations with HTML5 7th Edition
Introduction to HTML II
Computers and Scientific Thinking David Reed, Creighton University
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
Cascading Style Sheets Color and Font Properties
HTML (Hypertext Markup Language )
What is HTML? Structure of HTML Document HTML TAG HEAD TAG TITLE TAG
LESSON 2 Module 2: XHTML Basics More Basic XHTML.
Pertemuan 1b
Attribute of heading, <p> and <hr> tag
Attribute of heading, <p> and <hr> tag
Lesson 3: Cascading Style Sheets (CSS) and Graphical Elements
Attribute of heading, <p> and <hr> tag
Presentation transcript:

Font tag and its attributes Hexadecimal value Special Character Nesting tags Attribute of heading, <p> and <hr> tag Attributes of <body> tag Inserting Images Marquee tag

Font tag and its attributes Attribute list  attributename=“value” <font color=“ ” size=“ ” face=“ ” >…</font> Standard color name Hexadecimal value 1 - 7 Arial, Courier, Times, Script, Georgia, etc

Hexadecimal value Color values consist of 6 characters of hexadecimal (Base 16) preceded by hash symbol (# pound) Each character in hexadecimal value, uses numbers 0-9 or characters A-F. 2 characters for Red, 2 characters for Green and 2 characters for Blue White  #ffffff Black  #000000

Special Character Special characters are characters which have a meaning in HTML or cannot by typed through keyboard For example, less than < , greater than >, spaces, quotation, copyright Special character are expressed using a special name or numeric character < >   ©

Nesting tags Tags placed within an affected segment of another tag for multiple effect is known as Nesting tags Example <b>This text is bold and <u>underlined </u> </b>

Attribute of heading, <p> and <hr> <p align=“ “> ………</p> left, right, center <hn align=” ”>………</hn> n = 1, 2, 3, 4, 5, 6 Integer or percentage Color Name or Hexadecimal value Integer <hr width=“ ” size=“ ” color=“ ”> Length of the horizontal rule Thickness of the horizontal rule

Attributes of <body> tag Foreground color for the entire document Background color for the document Background image file for the document <body text=“ ” bgcolor=“ ” background=“ ” leftmargin=“ ” rightmargin=“ ” topmargin=“ ” bottommargin=“ ”> ……………………. </body>

Inserting Images <img src=“ ” align=“ ” width=“ ” height=“ ” Source value is name of the image file left, right, middle, center, top, bottom Integer or percentage <img src=“ ” align=“ ” width=“ ” height=“ ” alt=“ ” hspace=“ ” vspace=“ ” border=“ ” > Alternate specifies description of the image Horizontal space surrounding the image Vertical space surrounding the image Thickness of the rectangular border around the image

Marquee tag Direction for text or image -- left, right, up, down Behavior of text or image -- scroll, slide, alternate Background color for the marquee area <marquee direction=“ ” behavior=“ ” bgcolor=“ ” width=“ ” height=“ ” scrollamount=“ ” scrolldelay=“ ” > ……………… The number of pixels between moving the text or image The time between movement in millisecond </marquee>