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.

Slides:



Advertisements
Similar presentations
Table, List, Blocks, Inline Style
Advertisements

HTML popo.
HTML: HyperText Markup Language Hello World Welcome to the world!
Presenter: James Huang Date: Sept. 26,  Introduction  Basics  Lists  Links  Forms  CSS 2.
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.
Building a Website: Cascading Style Sheets (CSS) Fall 2013.
MR.Mohammed Sharaf al Shareef
Prepared by ackoo Styli n g your page (font type, font size, colors, text decoration, alignment, set margin, table padding, etc.) References: W3Schools.
4.01 Cascading Style Sheets
Week 1 8/10/2015iSTTS, Agenda Introduction to HTML Creating and publishing a Web page Validating a document Main HTML elements Block-level HTML.
Tutorial #8 – Creating Data Tables. Tutorial #6 Review – Layouts Two Column Fixed Width, Three Column Fixed Width Class VS. ID Container Universal Selector.
CIS 1310 – HTML & CSS 8 Tables. CIS 1310 – HTML & CSS Learning Outcomes  Create a Table  Apply Attributes to Format Tables  Increase the Accessibility.
HTML Tags. Objectives Know the commonly used HTML tags Create a simple webpage using the HTML tags that will be discussed.
HTML. Goals How to use the Komodo editor HTML coding and testing – List and Images – Tables and Links – At least 2 pages and navigation –
Bayu Priyambadha, S.Kom. for long documents, you can even have links to other locations in that same document  … where ident is a variable for identifying.
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.
CSS Dvijesh Bhatt.
Headings, Paragraphs, Formatting, Links, Head, CSS, Images
Ahmed Mumtaz Mustehsan
Principles of Web Design 6 th Edition Chapter 10 – Data Tables.
Learning HTML. HTML Attributes HTML elements can have attributes Attributes provide additional information about an element Class – specifies a class.
Web Design I Spring 2009 Kevin Cole Gallaudet University
HTML and CSS- Layout. HTML Layout Frame Table – Block HTML5 layout elements.
 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 Introduction to HTML Tags. HTML Document My first HTML document Hello world!
Doman’s Sections Information in this presentation includes text and images from
Lists, Images, Tables and Links. Lists Unordered List The first item The second item The third item The fourth item Ordered List 1.The first item 2.The.
Cascading Style Sheets Class 1, Lecture 1 Rachel A Ober
HTML. Basic HTML HTML document – HTML headings – to HTML paragraphs – HTML links – HTML images –
Introduction to CS520/CS596_026 Lecture One Gordon Tian Fall 2015.
1 eVenzia Technologies Learning HTML, XHTML & CSS Chapter 2.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Introduction to HTML. HTML Hyper Text Markup Language Page Title My First Heading My first paragraph. Page Title My First Heading My first paragraph.
CHAPTER 1 HTML & HTML5 I อ. ยืนยง กันทะเนตร คณะเทคโนโลยีสารสนเทศและการสื่อสาร มหาวิทยาลัยพะเยา 1.
CSS Table Properties.
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.
Introduction to HTML Xiangming Mu 9/23/ Learning Objectives Understand basic HTML tags and their attributes Learn to create a simple HTML page.
HTML.
HTML Basics Computers. What is an HTML file? *HTML is a format that tells a computer how to display a web page. The documents themselves are plain text.
Cascading Style Sheets CSS.  Standard defined by the W3C  CSS1 (released 1996) 50 properties  CSS2 (released 1998) 150 properties (positioning)  CSS3.
26 HTML Tables … surround table … surround each row … surround each cell … like, but bold and centered by default (for table headings) … table title No.
INT222 - Internet Fundamentals Shi, Yue (Sunny) Office: T2095 SENECA COLLEGE.
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.
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 
Chapter 9 Table Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D 1.
©SoftMoore ConsultingSlide 1 Introduction to HTML: Block-Level Elements.
INT222 – Internet Fundamentals
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.
Welcome To Website Design, Hosting And Management Prepared By Webdev Solution ip ,223,96.
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.
HTML & CSS Contents: the different ways we can use to apply CSS to The HTML documents CSS Colors and Background CSS Fonts CSS Text CSS box model: padding,
Introduction to CS520/CS596_026 Lecture One Gordon Tian Fall 2015.
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.
CSS (Cascading Style Sheets). CSS CSS – Cascading Style Sheets – Cascade because of the way CSS rules can stack on top of each other. Allows you to add.
1 Cascading Style Sheets
WebD Introduction to CSS By Manik Rastogi.
CSS: Cascading Style Sheets
4.01 Cascading Style Sheets
HTML: HyperText Markup Language
Internet & Web Engineering Course Code:CS-228 Credit Hours (3+1) Lab 4a Block Level Elements In HTML Instructor: Muhammad Zeeshan Haider Ali Blog.
Internet & Web Engineering Course Code:CS-228 Credit Hours (3+1) Lab 1 Introduction to Markup Language HTML Instructor: Muhammad Zeeshan Haider.
Introduction to web design discussing which languages is used for website designing
PAGE LAYOUT - 2.  The div tag equipped with CSS rules produces good looking pages.  With CSS, the div tag can easily be positioned anywhere on the page.
Web Design and Development
Principles of Web Design 5th Edition
4.01 Cascading Style Sheets
Presentation transcript:

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 Consortium) 규약 및 권고에 따름  현재 HTML5 사용 권고

Basic Format 3 This is a title Hello world!

Heading (The examples further from here from 4  This is a heading level 1  This is a heading level 2  This is a heading level 3  This is a heading level 4  This is a heading level 5  This is a heading level 6

Paragraph 5 This is a paragraph. HTML paragraphs are defined with the p-tag This is another paragraph.

  This is a heading  This is a paragraph.  Centered Heading 6/20 Style

 This text is bold  This text is strong  This text is italic  This text is emphasized  HTML Small Formatting  HTML Marked Formatting  My favorite color is blue red 7/20 Formatting

 My favorite color is red  This is subscripted text  This is superscripted text 8/20

TagDescription Defines an abbreviation or acronym Defines contact information for the author/owner of a document Defines the text direction Defines a section that is quoted from another source Defines the title of a work Defines a short inline quotation 9/20 Quotation

  This is a paragraph. 10/20 Comments

 This is a Blue Heading  body {background-color:lightgrey;} h1 {color:blue;} p {color:green;} This is a heading This is a paragraph. 11/20 Style

 This is a heading This is a paragraph.  style.css  body { background-color: lightgrey; } h1 { color: blue; } p { color:green; } 12/20

 p { border: 1px solid black; padding: 10px; margin: 30px; } 13/20

 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}  Visit W3Schools!   Useful Tips Section  Visit the Useful Tips Section 14/20 Links-color

 img { width:100%; } 15/20 Image

 16/20 Image Maps

 Jill Smith 50 Eve Jackson 94  table, th, td { border: 1px solid black; border-collapse: collapse; } 17/20 Table

 Use the HTML element to define a table  Use the HTML element to define a table row  Use the HTML element to define a table data  Use the HTML element to define a table heading  Use the HTML element to define a table caption  Use the CSS border property to define a border  Use the CSS border-collapse property to collapse cell borders  Use the CSS padding property to add padding to cells  Use the CSS text-align property to align cell text  Use the CSS border-spacing property to set the spacing between cells  Use the colspan attribute to make a cell span many columns  Use the rowspan attribute to make a cell span many rows  Use the id attribute to uniquely define one table 18/20

 Coffee Tea Milk 19/20 List

StyleDescription list-style-type:disc The list items will be marked with bullets (default) list-style-type:circle The list items will be marked with circles list-style-type:square The list items will be marked with squares list-style-type:noneThe list items will not be marked 20/20

TypeDescription type="1" The list items will be numbered with numbers (default) type="A" The list items will be numbered with uppercase letters type="a" The list items will be numbered with lowercase letters type="I" The list items will be numbered with uppercase roman numbers type="i" The list items will be numbered with lowercase roman numbers 21/20

 London London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants.  My Important Heading 22/20 Block elements

 div.cities { background-color:black; color:white; margin:20px; padding:20px; } London London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants. Paris Paris is the capital and most populous city of France. Tokyo Tokyo is the capital of Japan, the center of the Greater Tokyo Area, and the most populous metropolitan area in the world. 23/20 Classing Block Elements

 City Gallery London Paris Tokyo London London is the capital city of England. It is the most populous city in the United Kingdom, with a metropolitan area of over 13 million inhabitants. Standing on the River Thames, London has been a major settlement for two millennia, its history going back to its founding by the Romans, who named it Londinium. Copyright © W3Schools.com 24/20 Layouts

 #header { background-color:black; color:white; text-align:center; padding:5px; } #nav { line-height:30px; background-color:#eeeeee; height:300px; width:100px; float:left; padding:5px; } #section { width:350px; float:left; padding:10px; } #footer { background-color:black; color:white; clear:both; text-align:center; padding:5px; } 25/20

 document.getElementById("demo").inner HTML = "Hello JavaScript!"; Sorry, your browser does not support JavaScript! 26/20 Javascripts

TagDescription Defines information about the document Defines the title of a document Defines a default address or a default target for all links on a page Defines the relationship between a document and an external resource Defines metadata about an HTML document Defines a client-side script Defines style information for a document 27/20 HEAD Elements

 First name: Last name:  action_page.php 에서는 변수 $_POST[“name”] 로 전달됨 28/20 Form