Introduction to CS520/CS596_026 Lecture One Gordon Tian 408-668-5680 Fall 2015.

Slides:



Advertisements
Similar presentations
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.
Advertisements

HTML and CSS. HTML Hyper Text Markup Language Tells browser how to display text and images.
Ideas to Layout Beginning web layout using Cascading Style Sheets (CSS). Basic ideas, practices, tools and resources for designing a tableless web site.
Cascading Style Sheets
Making Things Look Nice: Visual Appearance and CSS CMPT 281.
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.
Instructional Technology & Design Office or Insert Workshop Name Presented by Your Name Here.
Prepared by ackoo Styli n g your page (font type, font size, colors, text decoration, alignment, set margin, table padding, etc.) References: W3Schools.
Web Workshop: CSS Objectives: - “What is CSS?” - Structure of CSS - How to use CSS in your webpage.
Cascading Style Sheet (CSS) Instructor: Dr. Fang (Daisy) Tang
4.01 Cascading Style Sheets
Computing Concepts: CSS. Aims  To understand the uses of css  To understand the different types of css  To be able to create a css file  To be able.
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,
CSS Dvijesh Bhatt.
Review: Three parts to a webpage: - Content - Structure  XHTML - Presentation  CSS In this chapter we will focus on introducing and examining the mechanics.
_ HTML, XHTML & CSS Sami Niemelä | Module 1: Introduction to digital media: Day 02.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
18 People Surveyed HTML (HyperText Markup Language) HTML “tags” Describes structure Building blocks Headings, paragraphs, lists, links, images, quotes,
 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.
Doman’s Sections Information in this presentation includes text and images from
Cascading Style Sheets Class 1, Lecture 1 Rachel A Ober
Introduction to CS520/CS596_026 Lecture One Gordon Tian Fall 2015.
I NTRO TO CSS IAT100 Spring I NTRO TO CSS Covered in this lesson: Overview What is CSS? Why to use CSS? CSS for Skinning your Website Structure.
SEG3210 DHTML Tutorial. DHTML DHTML is a combination of technologies used to create dynamic and interactive Web sites. –HTML - For creating text and image.
ITCS373: Internet Technology Week 3: Introduction to CSS Dr. Faisal Al-Qaed.
 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.
CSS Basic (cascading style sheets)
HTML CSS JAVASCRIPT. HTML - Stands for Hyper Text Markup Language HTML is a ‘language’ that describes web pages. This language is a collection of codes.
The Web Wizard’s Guide To DHTML and CSS Chapter 1 A Review of CSS1.
Introduction to Programming the WWW I CMSC Winter 2003 Lecture 7.
Cascading Style Sheets Part 1. CSS vs HTML HTML: Originally intended to markup structure of a document (,...,,,,,...) CSS Developing technology, CSS1,
HTML - Quiz #2 Attendance CODE:
Lecture 2 - HTML and CSS Review SFDV3011 – Advanced Web Development 1.
Lesson 03 // Cascading Style Sheets. CSS Stands for Cascading Style Sheets. We’ll be using a combination of Html and CSS to create websites. CSS is a.
CSS Tutorial 1 Introduction Syntax How to use style specifications. Styles.
 Use the think diagram … ISP Server.
Cascading Style Sheets
Cascading Style Sheets (CSS). A style sheet is a document which describes the presentation semantics of a document written in a mark-up language such.
Introduction to CSS. Why CSS? CSS Provides Efficiency in Design and Updates CSS relatively easy to use Can give you more flexibility and control Faster.
Web Design (12) CSS Introduction. Cascading Style Sheets - Defined CSS is the W3C standard for defining the presentation of documents written in HTML.
CSS Cascading Style Sheets A very brief introduction CSS, Cascading Style Sheets1.
CSS – 8 Step Walk Through! Using HTML. You will use 8 steps to transform this page to…
University of South Asia Course Name: Web Application Prepared By: Md Rezaul Huda Reza
How to… Cascading Style Sheets. How to Insert a Style Sheet When a browser reads a style sheet, it will format the document according to it. There are.
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
1 CSS محمد احمدی نیا 2 Of 21 What is CSS?  CSS stands for Cascading Style Sheets  Styles define how to display HTML elements 
Department of Computer Science, Florida State University CGS 3066: Web Programming and Design Spring
HTML. INDEX Introduction to HTML Creating Web Pages Commands And Tags Web Page.
NASRULLAHIBA.  It is time to take your web designing skills to the next level with Cascading Style Sheets (CSS). They are a way to control the look and.
LT: I can use CSS to decorate a web page. Do Now: Get your storyboard, and log in to winhome. Write our a list of colors you want in your website. (Minimum.
Command Innovative Technologies HTML (Hyper Tax Markup Language AND CSS(Cascading Style Sheet) 1.
HTML 5 AND CSS Dr Mohd Soperi Mohd Zahid Semester /16.
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.
Ch. 2. HTML 1. HTML? 2  Tim Berner-Lee first proposed (1981) and coded (1991)  HTML: HyperText Markup Language  Web browser 용  W3C (World Wide Web.
CASCADING STYLE SHEET CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem.
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.
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 solve a problem External.
1 Cascading Style Sheets
Web Basics: HTML/CSS/JavaScript What are they?
4.01 Cascading Style Sheets
What is CSS.
Lecture 8. HTML. Author: Aleksey Semyonov
Cascading Style Sheets
HTML A brief introduction HTML.
Pertemuan 1 Desain web Pertemuan 1
4.01 Cascading Style Sheets
Presentation transcript:

Introduction to CS520/CS596_026 Lecture One Gordon Tian Fall 2015

Requirements Cygwin for Windows Nginx/php/mysql for Windows MAMP for MacOS

INSTALL Nginx/php/mysql  PhpStorm Cygwin 

What is HTML? HTML is a markup language for describing web documents (web pages). HTML stands for Hyper Text Markup Language A markup language is a set of markup tags HTML documents are described by HTML tags Each HTML tag describes different document content

Example Page Title My First Heading My first paragraph. Save as.html or.htm file

HTML Versions Tim Berners-Lee invented www 1989 Tim Berners-Lee invented HTML 1991 Dave Raggett drafted HTML HTML Working Group defined HTML W3C Recommended HTML W3C Recommended HTML W3C Recommended XHTML HTML5 WHATWG First Public Draft 2008 HTML5 WHATWG Living Standard 2012 HTML5 W3C Final Recommendation 2014

!DOCTYPE HTML 5 HTML HTML 1.0

Comments <!-- Write your comments here →.... some HTML here....

HTML Tags content Tags can be nested HTML headings are defined with the to tags,, Empty element: or defines preformatted text.

Attributes lang="en-US" for html title for p href for a width and height for img or use style style="width:304px;height:228px;"  Use the style attribute. It prevents styles sheets from changing the original size of images

HTMl Styles - inline style="property:value; property:value;" This is a heading This is a paragraph. background-color, color, font-family, font-size, test-align

HTMl Styles – Internal CSS Body {background-color:lightgrey} h1 {color:blue} p {color:green}

HTML Styles – External CSS To define a special style for one special element, add an id attribute to the element p#p01 { color:blue; } I am different To define a style for a special type (class) of elements, add a class attribute to the element p.error { color:red; } Whoops

Styles - a:link {color:green; background-color:transparent; text-decoration:none} a:visited {color:pink; background-color:transparent; text-decoration:none} a:hover {color:red; background-color:transparent; text-decoration:underline} a:active {color:yellow; background-color:transparent; text-decoration:underline}

Styles - floating The image will float to the right of the text. The image will float to the left of the text.

Table table, th, td { border: 1px solid black; border-spacing: 5px; } th, td { padding: 15px; text-align: left; }

Table – more styles table#t01 tr:nth-child(even) { background-color: #eee; } table#t01 tr:nth-child(odd) { background-color: #fff; } table#t01 th { color: white; background-color: black; }

CSS What is CSS? CSS stands for Cascading Style Sheets CSS defines how HTML elements are to be displayed Styles were added to HTML 4.0 to solve a problem CSS saves a lot of work External Style Sheets are stored in CSS files

CSS

Selector element id class

CSS Comment Use c/c++/Java like comment /* …. */

Directory Structure Configure the web server where to store the web files (html, php/python, javascript, css) Javascript files usually stored under js/javascript directory CSS files often under css directory For php/python/perl files, use MVC pattern (model-view-controller)