Presenter: James Huang Date: Sept. 26, 2014 1.  Introduction  Basics  Lists  Links  Forms  CSS 2.

Slides:



Advertisements
Similar presentations
Farhan Nisar University of Peshawar
Advertisements

Basic Principles for Web Design Source:
Table, List, Blocks, Inline Style
Intro to HTML. HTML HTML = HyperText Markup Language Used to define the content of a webpage HTML is made up of tags and attributes Content.
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.
CSS Cascading Style Sheets. Objectives Using Inline Styles Working with Selectors Using Embedded Styles Using an External Style Sheet Applying a Style.
HTML: HyperText Markup Language Hello World Welcome to the world!
Cascading Style Sheets
Cascading Style Sheets
Programming Club IIT Kanpur. Work environment Before you begin coding,always set up your work environment to your needs IDE Notepad++ Sublime Text 2.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 Key Concepts 1 Copyright © Terry Felke-Morris.
Today CSS HTML A project.
INTRODUCTION TO HYPERTEXT MARKUP LANGUAGE 1. Outline  Introduction  Markup Languages  Editing HTML  Common Tags  Headers  Text Styling  Linking.
CSS. Intro to CSS Cascading Style Sheets – styles and enhances appearance of webpage.css extension.
Chapter 3 – Designing your web pages Dr. Stephanos Mavromoustakos.
HTML – A Brief introduction Title of page This is my first homepage. This text is bold  The first tag in your HTML document is. This tag tells your browser.
Copyright © Terry Felke-Morris WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 6 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.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
Cascading Style Sheets By: Valerie Kuna. What are Cascading Style Sheets? Cascading Style Sheets (CSS) are a standard for specifying the presentation.
Web Development & Design Foundations with XHTML Chapter 7 Key Concepts.
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.
Building a Website: Cascading Style Sheets (CSS) Fall 2013.
CIS 1310 – HTML & CSS 6 Layout. CIS 1310 – HTML & CSS Learning Outcomes  Describe & Apply the CSS Box Model  Configure Float with CSS  Designate Positioning.
Recognizing the Benefits of Using CSS 1. The Evolution of CSS CSS was developed to standardize display information CSS was slow to be supported by browsers.
CSS(Cascading Style Sheets )
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.
CSS normally control the html elements. Three Ways to Insert CSS There are three ways of inserting a style sheet: External style sheet Internal style.
CSS Cascading Style Sheets Brief Introduction
Images, Tables, lists, blocks, layout, forms, iframes
MR.Mohammed Sharaf al Shareef
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
4.01 Cascading Style Sheets
Computer Sciences Department
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
Module 5 HTML: An Introduction. ●A language to describe and create web pages. ●Stands for: Hyper Text Markup Language What is HTML?
HTML Web Programming.
HTML. What is HTML? HTML is a language for describing web pages. HTML stands for Hyper Text Markup Language HTML is a markup language A markup language.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
ACM 511 HTML Week -1 ACM 511 Course Notes. Books ACM 511 Course Notes.
 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.
HTML. Basic HTML HTML document – HTML headings – to HTML paragraphs – HTML links – HTML images –
1 HTML محمد احمدی نیا 2 Of 43 What is HTML?  HTML stands for Hyper Text Markup Language  HTML is not a programming language, it.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
CHAPTER 1 HTML & HTML5 I อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
Introduction to Programming the WWW I CMSC Summer 2004 Lecture 7.
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.
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.
REEM ALMOTIRI Information Technology Department Majmaah University.
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 Tutorial. What is HTML HTML is a markup language for describing web documents (web pages) HTML documents are described by HTML tags Each HTML tag.
Chapter 1: Intro to HTML Section 1: HTML Structure Presentation Section 2: Layout of an HTML File Section 3: Working with Lists & Tables Section 4: HTML.
HTML for web designing short course. What is an HTML File? HTML stands for Hyper Text Markup Language An HTML file must have an htm or html file extension.
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.
CSS Introductions. Objectives To take control of the appearance of a Web site by creating style sheets. To use a style sheet to give all the pages of.
WebD Introduction to CSS By Manik Rastogi.
CSS.
LAB Work 01 MBA 61062: E-Commerce
4.01 Cascading Style Sheets
What are Cascading Stylesheets (CSS)?
Pertemuan 1 Desain web Pertemuan 1
4.01 Cascading Style Sheets
Web Programming and Design
Presentation transcript:

Presenter: James Huang Date: Sept. 26,

 Introduction  Basics  Lists  Links  Forms  CSS 2

 HTML is a markup language for web documents (web pages). ◦ It stands for Hyper Text Markup Language.  A markup language uses a set of tags to describe elements of a document. ◦ E.g. for paragraph, for heading 1, for images, etc. ◦ Tags are normally used in pairs: and, and, and.  Structure ◦ Head section: title, style, Javascript ◦ Body section: visible content  Attributes ◦ Specify additional information about an element ◦ E.g. id attribute specifies an unique identifier for an element 3

 HTML document My Blog My Python blog Python is my favorite programming language. Keyword Frequency Android 23 iPhone 28  Web page 4

5  Headings ◦ Defined with,,,..., tags.  Paragraph ◦ Defined with tag. Web browsers display margins before and after a paragraph.  Images ◦ Defined with tag. ◦ Attributes:  src: URL of the image file  alt: alternate text for the image  width: the width of the image in pixels  height: the height of the image in pixels

6 Heading 1 Heading 2 This is a paragraph.This is the second sentence

 HTML supports unordered lists, ordered lists, and description lists. 7 List TypeList TagItem TagTypes Unordered lists tag bullets (default) Circles Squares None Ordered lists tag by numbers by letters by roman numbers Description lists tag tag: term tag: description

8 <ul style="list-style-type:disc"> Apple Banana Orange Apple Banana Orange Apple a round fruit of a tree of the rose family Banana a long curved fruit that grows in clusters Orange a round juicy citrus fruit with a bright reddish- yellow rind

 A link (hyperlink) refers to another document that a user can jump to by clicking the link. ◦ It is defined with tag. ◦ It can be a text or an image.  Attributes: ◦ href: specifies the URL of the linked document ◦ target: specifies where to open the linked document  A link can be used as a bookmark of a web document. 9

10 NBA <img src="Koala.jpg" alt="Australia" width=300 title=" News See News

 A HTML form allows a user to input data. ◦ tag is used to create a form ◦ tag creates an individual input field  Form Attributes: ◦ action: URL to which the form data is sent ◦ method: HTTP method (get or post) that uses to send the form data  Input Attributes: ◦ name: name of the input field ◦ type: type of the input field (e.g. text fields, checkboxes, or radio-buttons) ◦ value: default value of the input field ◦ input type “Submit” defines a submit button 11

12 Firstname: Female Squash Password:

 CSS is a style language that describes the visual presentation (e.g. colors, fonts, alignments) of web documents. ◦ It stands for Cascading Style Sheets ◦ Separation of HTML from CSS makes it easier to adapt web document to different running environments (e.g. types of different display)  CSS can be applied to HTML in three ways: ◦ Inline – using style attribute in HTML elements  This is a heading ◦ Internal – using style element in section  h1 {color:blue} ◦ External – using external CSS files  13

 CSS is defined as a set of rules. ◦ Each rule consists of two parts: a selector and a group of declarations. ◦ E.g. h1 {color:blue; font-weight:bold} p {font-style: italic}  A selector specifies the element to which the style applies. ◦ types of selector: tag name, id name, class name  A declaration is made up of the name of a property and the value for the property. 14

 Use container element ( and ) and use id selector: e.g. #nav {color: green} This is a paragraph This is a list Item1 Item2  Define a class for elements and use class selector: e.g..intro {color: blue}.important {color: red} Header 1 A paragraph Note that this is important. 15

16 #nav { line-height:30px; background-color: gray; height:600px; width:100px; float:left; padding:5px; } #section { width:350px; float:left; padding:10px; } #nav { background-color:#eeeeee; height:100px; width: 350px; float:top; padding:5px; color: blue; font-style: italic; } #section { width:350px; float:bottom; padding:10px; color: white; font-style: bold; font-family: arial; background-color: black; } C/C++ Python Java Python Python is a widely used general-purpose, high-level programming language.Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C. The language provides constructs intended to enable clear programs on both a small and large scale.

Thank you! contact: 17