Basic Principles for Web Design Source:

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

Session 2 Introduction to HyperText Markup Language 4 (HTML 4) Matakuliah: M0114/Web Based Programming Tahun: 2005 Versi: 5.
HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
HTML popo.
Introduction to HTML & CSS
HyperText Markup Language (HTML). Introduction to HTML Hyper Text Markup Language HTML Example The structure of an HTML document Agenda.
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.
CSS Basics Style and format your web site using CSS.
Cascading Style Sheets (CSS). Cascading Style Sheets With the explosive growth of the World Wide Web, designers and programmers quickly explored and reached.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
Cascading Style Sheets
Cascading Style Sheets: Basics I450 Technology Seminar Copyright 2003, Matt Hottell.
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
 Many small businesses and organizations can benefit from a Basic Web Page. The page will introduce who they are and give contact information so people.
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.
Introduction to CSS.
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.
Cascading Style Sheets By: Valerie Kuna. What are Cascading Style Sheets? Cascading Style Sheets (CSS) are a standard for specifying the presentation.
1 Web Developer & Design Foundations with XHTML Chapter 9 Key Concepts.
CSS BASICS. CSS Rules Components of a CSS Rule  Selector: Part of the rule that targets an element to be styled  Declaration: Two or more parts: a.
1 Pengantar Teknologi Internet W03: CSS Cascading Style Sheets.
กระบวนวิชา 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 for Beginners An IEEE/ACM Presentation given by Hamilton Turner.
Web Design is a class created to nurture the minds of high school techies, and introduce those without prior knowledge to the field.
HTML BASIC
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.
CSS (Cascading Style Sheets): How the web is styled Create Rules that specify how the content of an HTML Element should appear. CSS controls how your web.
Computer Sciences Department
Review HTML  What is HTML?  HTML is a language for describing web pages.  HTML stands for Hyper Text Markup Language  HTML is not a programming language,
Basics of HTML.
CS105 Introduction to Computer Concepts HTML
© 2012 Adobe Systems Incorporated. All Rights Reserved. LEARNING THE LANGUAGE OF THE WEB INTRODUCTION TO HTML AND CSS.
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.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
Chapter 4: Hypertext Markup Language Primer TECH Prof. Jeff Cheng.
 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.
1 What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements  Styles are normally stored in Style Sheets  Styles.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
Introduction to HTML. What is HTML? Hyper Text Markup Language (HTML) is a language for describing web pages. HTML is not a programming language, it is.
INTRODUCTION. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is not a programming language,
CS105 INTRODUCTION TO COMPUTER CONCEPTS HTML Instructor: Cuong (Charlie) Pham.
LEARNING HTML PowerPoint #1 Cyrus Saadat, Webmaster.
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.
HTML Basic. 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.
XHTML Formatting font with a style declaration. Formatting Font HTML uses the font tag to change size and family of font But… the font tag is being deprecated.
HTML Basics. HTML Coding HTML Hypertext markup language The code used to create web pages.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
WEEK -1 ACM 262 ACM 262 Course Notes. HTML What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML.
HTML CS 105. Page Structure HTML elements control the details of how a page gets displayed. Every HTML document has the following basic structure: … …
Basic HTML Programming Technology Education Ellsworth Community Middle School Communication Systems.
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 Introduction to HTML. 2 Definitions  W W W – World Wide Web.  HTML – HyperText Markup Language – The Language of Web Pages on the World Wide Web.
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.
4.01 Cascading Style Sheets
( Cascading style sheet )
INTRODUCTION TO HTML AND CSS
IS333: MULTI-TIER APPLICATION DEVELOPMENT
Cascading Style Sheets Color and Font Properties
Cascading Style Sheets™ (CSS)
INTRODUCTION TO HTML AND CSS
Training & Development
Understand basic HTML and CSS terminology, concepts, and basic operations. Objective 3.01.
4.01 Cascading Style Sheets
Cascading Style Sheets III B. Com (Paper - VI) & III B
Web Programming and Design
Presentation transcript:

Basic Principles for Web Design Source:

HTML is a language for describing web pages. HTML stands for H yper T ext M arkup L anguage HTML is NOT a programming language, it is a markup language A markup language is a set of markup tags HTML uses markup tags to describe web pages

HTML markup tags are usually called HTML tags HTML tags are keywords surrounded by angle brackets like HTML tags normally come in pairs like and The first tag in a pair is the start tag, the second tag is the end tag Start and end tags are also called opening tags and closing tags

HTML documents describe web pages HTML documents contain HTML tags and plain text HTML documents are also called web pages The purpose of a web browser (like Internet Explorer or Firefox) is to read HTML documents and display them as web pages. The browser does not display the HTML tags, but uses the tags to interpret the content of the page The content of a website is stored within HTML tags (or elements).

Explanation: The text between and describes the web page The text between and is the visible page content The text between and is displayed as a heading The text between and is displayed as a paragraph This Is A Heading This is a paragraph.

There are 6 heading tags, where the tag is usually considered the highest and the lowest. Heading 1 Heading 2 Heading 3 Heading 4 Heading 5 Heading 6 Large blocks of text in sentence for is form is usually placed with in a paragraph tag: This is a paragraph This is another paragraph

Links are created using the anchor tag: Notice anything different about this tag? href is an attribute of the tag that tells the browser where to navigate to. The text that is displayed on the website is between the start and end tags (Check out this…). HTML attributes are followed by an equal (=) sign and contain data with quotes (____). Some attributes are optional, others are required. Check out this link to Facebook! Pictures are displayed using the image tag: Where is the end tag? What do you think the src attribute does? What do you think the alt tag does? It is also a good idea to include the width and height attributes for faster loading. ex: Width and Height are in pixels. Thus, this image will be displayed 300 pixels wide and 400 pixels tall

Lists are created using the unordered, ordered, and definition list tags: (,, and ) Which two types of lists are shown above? What do you think an unordered list looks like? What do you think an ordered list looks like? What do they both have in common? What do you think the tag stands for apples oranges bananas Item 1 Item 2 Item 3

Here are some other helpful HTML tags: The tag, or break tag causes a line break (like hitting enter while you type). The tag, or horizontal rule tag creates a horizontal line that can serve as a border between sectionsb The tag, or boldface tag formats the text between the start and end tag as bold. The tag, or italics tag formats the text between the start and end tag as italicized. The tag, or emphasis tag tears a hole in the space-time continuum, allowing for time travel and warp speed And one of the most important tags is the tag, or division tag. The tag is used to group other elements (tags) together into one block of content. This is bold This is italicized This is emphasized

CSS defines how HTML tags should be display. CSS stands for Cascading Style Sheet Can be used to change font type, color, size, etc… Can be used to add background colors or images to elements Can be used to add borders around elements Can be used to arrange the layout of the content Is stored in a separate file that is accessed by the HTML file

Explanation: The p element is styled here according to the entries between the two brackets {…} These properties cascade down to all tags You can choose colors by typing out the name of the color (blue, black, red, etc…) or by using a hexadecimal number value that represents the red, green, and blue mix that creates the color that you want. p{ background-color: blue; text-align: center; font-size:20px; font-family: Times New Roman, Times, serif; color:#fff; }

99CCFF (or 9CF for short)#99CCFF (or #9CF for short) #99FF33 (or #9F3 for short) Where do you think #00FF00 is on the map? Hexadecimal number order: A B C D E F Colors are represented in a six-digit hex number: RRGGBB (Red, Green, Blue) For web-safe colors, shorten the number to three digits: RGB These values are always preceded by a pound sign #

Syntax: What is in each line? – Each new line begins with the attribute that we want to define (i.e. font-size) – Next is a colon : – Then, the desired value for that attribute – Each line must end with a semi-colon ; Why are there three different types of fonts under font-family? What does color modify? Why isnt it called font-color? What color is #009? Do you see what is wrong with the code above? h1{ font-weight: bold font-size: 50px; font-family: Times New Roman, Times, serif; color:#009; }

Shortcuts: All of the font attributes have been collapsed into one declaration. Each attribute is separated from the others with a space. Since color is not technically a font property, it has to be declared on its own line. Some other CSS properties allow for shortcuts as well. h1{ font: bold 50px Times New Roman, Times, serif; color:#009; }

Styling groups: The display attribute tells the browser that we want the dive to be treated like a block rather than a line. We can give our block fixed dimensions of height and width. Here, we have defined the width as 600 pixels and have allowed the browser to set the height based on the amount of content within the Shortcut: The margin attribute is a shortcut form of margin-top, margin-right, margin-bottom, margin-left in that order. What is wrong with the above code? div{ display: block; width: 600px; height: auto; margin:0 auto 0 auto; color:FFF; }

Styling with classes: In the HTML code we have created a heading ( ) with a class attribute of myCustomHeaderClass, and another with no class attribute The CSS entry for h1 will normally cause all h1 tags to be black. However, because we have created a CSS entry for h1.myCustomHeaderClass, this h1 tag will be bright yello h1{ color:#000; } h1.myCustomHeaderClass{ color:#FF0; } This heading will be bright yellow This heading will be black CSS Code: HTML Code:

Refresh CSSCSS HTMLHTML Try It!

is an excellent tool for beginners. There you can quickly and easily learn anything from HTML to Flash. Best of all, ITS FREE!