Chapter 16 Mobile Web Page

Size: px
Start display at page:

Download "Chapter 16 Mobile Web Page"

Transcription

1 Sungkyunkwan University Chapter 16 Mobile Web Page Prepared by J. Jung and H. Choo Web Programming Copyright Networking Networking Laboratory Laboratory 1/26

2 Native App vs. Mobile Web App Native App Mobile Web App Execution Speed Fast Slow Platform Must be produced for each platform One version runs on all platforms Release Releasing via App Market No need to release Version Update It takes a considerable amount of time Immediately reflected Offline Available Slightly Available Web Programming Networking Laboratory 2/26

3 Mobile Web & Desktop Web Mobile devices have smaller screen size and lower processing power than desktops. Mobile web browsers are quite diverse. Mobile devices and desktops have different user interfaces. Mobile devices are mostly touch-based, while desktops still use a mouse and keyboard. Web Programming Networking Laboratory 3/26

4 Responsive Web Design Responsive web design: A page where a web page responds appropriately by reading the user s environment By web designer Ethan Marcotte Web Programming Networking Laboratory 4/26

5 Responsive Web Design Example (1/5) Understanding the syntax of responsive web design Web Programming Networking Laboratory 5/26

6 Responsive Web Design Example (2/5) <!doctype html> <html lang="ko"> <head> <meta charset="utf-8"> <title>css</title> <!-- viewport 의너비를기기의너비로설정및확대 / 축소수준은 1 로설정 --> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> #jb-container { width: 940px; margin: 10px auto; padding: 20px; border: 1px solid #bcbcbc; } #jb-header { padding: 20px; margin-bottom: 20px; border: 1px solid #bcbcbc; } Web Programming Networking Laboratory 6/26

7 Responsive Web Design Example (3/5) #jb-content { width: 580px; padding: 20px; margin-bottom: 20px; float: left; border: 1px solid #bcbcbc; } #jb-sidebar { width: 260px; padding: 20px; margin-bottom: 20px; float: right; border: 1px solid #bcbcbc; } #jb-footer { clear: both; padding: 20px; border: 1px solid #bcbcbc; } Web Programming Networking Laboratory 7/26

8 Responsive Web Design Example (max-width: 480px) { /* 너비가 480px 이하부터는아래스타일적용 */ #jb-container { width: auto; } #jb-content { float: none; width: auto; } #jb-sidebar { float: none; width: auto; } } </style> </head> Web Programming Networking Laboratory 8/26

9 Responsive Web Design Example (5/5) <body> <div id="jb-container"> <div id="jb-header"> <h1>responsive Layout</h1> <div id="jb-content"> <h2>content</h2> <p>lorem ipsum dolor sit amet, adipiscing risus.</p> <div id="jb-sidebar"> <h2>sidebar</h2> <ul> <li>lorem</li> <li>ipsum</li> <li>dolor</li> </ul> <div id="jb-footer"> <p>copyright</p> </body> </html> Web Programming Networking Laboratory 9/26

10 JQuery Mobile JQuery Mobile is one of the mobile frameworks. JQuery Mobile touch-based HTML5 UI framework Web applications written in JQuery Mobile can be executed in the same way without changing the source on all kinds of smartphones, tablets and desktops. Web Programming Networking Laboratory 10/26

11 JQuery Mobile Example (1/2) Understanding the syntax of JQuery Mobile <!DOCTYPE html> <html> <head> <title>my Page</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href=" /> <script src=" <script src=" </head> Web Programming Networking Laboratory 11/26

12 JQuery Mobile Example (2/2) <body> <div data-role="page"> <!-- header --> <div data-role="header"> <h1>my Title</h1> <!-- content --> <div data-role="content"> <p> 안녕하세요? jquery 에오늘입문하였습니다.</p> <!-- footer --> <div data-role="footer"> <h4>thank you!</h4> </body> </html> Web Programming Networking Laboratory 12/26

13 JQuery Mobile Event Tab Event $("#element").on("tap", function() {}); TabHold Event $("#element").on("taphold", function() {}); Swipe Event $("#element").on("swipe", function() {}); SwipeLeft Event $("#element").on("swipeleft", function() {}); SwipeRight Event $("#element").on("swiperight", function() {}); Orientation Change Event $(window).on("orientationchange", function() {}); Web Programming Networking Laboratory 13/26

14 JQuery Mobile Components (1/12) Grid Layout Understanding the syntax of Grid Layout in JQuery Mobile <body><div data-role="page" id="page1"> <div data-role="header"> <h1>header 영역 </h1> <div data-role="content"> <div class="ui-grid-d"> <!-- a:2 칸, b:3 칸, c:4 칸, d:5 칸 --> <div class="ui-block-a"><div class="ui-bar ui-bar-a"> 블록 1 <div class="ui-block-b"><div class="ui-bar ui-bar-b"> 블록 2 <div class="ui-block-c"><div class="ui-bar ui-bar-c"> 블록 3 <div class="ui-block-d"><div class="ui-bar ui-bar-d"> 블록 4 <div class="ui-block-e"><div class="ui-bar ui-bar-e"> 블록 5 <div data-role="footer" class="ui-bar ui-grid-b" data-position="fixed"> <div class="ui-block-a"><a href="#" data-role="button"> 버튼 1</a> <div class="ui-block-b"><a href="#" data-role="button"> 버튼 2</a> <div class="ui-block-c"><a href="#" data-role="button"> 버튼 3</a> </body> Web Programming Networking Laboratory 14/26

15 JQuery Mobile Components (2/12) Button (1/3) Understanding the syntax of Button in JQuery Mobile <body> <div data-role="page"> <div data-role="header"> <h1>my Title</h1> <!-- /header --> <div data-role="content"> <p> 안녕하세요? jquery 에오늘입문하였습니다.</p> <a href="#" data-role="button" data-icon="star">star button</a> <!-- /content --> <div data-role="footer"> <h4>thank you!</h4> <!-- /footer --> <!-- /page --> </body> Web Programming Networking Laboratory 15/26

16 JQuery Mobile Components (3/12) Button (2/3) <body><div data-role="page" id="page1"> <div data-role="header"> <h1>header 영역 </h1> <div data-role="content" > <button data-icon="arrow-l">1_ 왼쪽방향화살표버튼 </button> <button data-icon="arrow-l">2_ 왼쪽방향화살표버튼 </button> <button data-icon="check">3_ 확인버튼 </button> <button data-role="none" data-icon="refresh"> 기존버튼 </button> <input type="button" value="4_ 검색버튼 " data-icon="search"> <input type="submit" value="5_ 그리드버튼 " data-icon="grid"> <input type="reset" value="6_ 경고버튼 " data-icon="alert"> <input type="button" value="7_ 홈버튼 " data-icon="home"> <a href="#" data-role="button" data-icon="info">8_ 정보버튼 </a> <div data-role="footer" data-position="fixed"> <h4>footer 영역 </h4> </body> Web Programming Networking Laboratory 16/26

17 JQuery Mobile Components (4/12) Button (3/3) Web Programming Networking Laboratory 17/26

18 JQuery Mobile Components (5/12) Input Box (1/2) <!DOCTYPE html> <html> Understanding the syntax of Input Box in JQuery Mobile <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>jquery Mobile</title> <link rel="stylesheet" href=" /> <script src=" <script src=" </head> <body> <div data-role="page" id="page1"> <div data-role="header"> <h1>header 영역 </h1> Web Programming Networking Laboratory 18/26

19 JQuery Mobile Components (6/12) Input Box (2/2) <div data-role="content"> <label>(1) 도시이름 <input type="text" name="return" id="txt1"> </label> <div data-role="fieldcontain" class="ui-disabled"> <label for="txt2">(2) 도시이름 </label> <input type="text" name="return" id="txt2" data-role="none"> <div data-role="fieldcontain"> <label for="txt3">(3) 도시이름 </label> <input type="text" name="return" id="txt3" value=" 서울 "> <div data-role="footer" data-position="fixed"> <h4>footer 영역 </h4> </body> </html> Web Programming Networking Laboratory 19/26

20 JQuery Mobile Components (7/12) List View (1/2) Understanding the syntax of List View in JQuery Mobile <!DOCTYPE html> <html> <head> <title>my Page</title> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href=" /> <script src=" <script src=" </head> Web Programming Networking Laboratory 20/26

21 JQuery Mobile Components (8/12) List View (2/2) <body> <div data-role="page"> <div data-role="header"> <h1>my Title</h1> <!-- /header --> <div data-role="content"> <!-- data-inset 속성으로상하좌우여백추가 --> <!-- data-filter 속성으로검색기능추가 --> <ul data-role="listview" data-inset="true" data-filter="true"> <li><a href="#">benz</a></li> <li><a href="#">bmw</a></li> <li><a href="#">audi</a></li> <li><a href="#"> 현대자동차 </a></li> <li><a href="#"> 기아자동차 </a></li> </ul> <!-- /content --> <div data-role="footer"> <h4>thank you!</h4> <!-- /footer --> </body> </html> Web Programming Networking Laboratory 21/26

22 JQuery Mobile Components (9/12) Multi-line List View (1/3) <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <title>jquery Mobile</title> <link rel="stylesheet" href=" /> <script src=" <script src=" </head> <body> <div data-role="page" id="page" data-title=" 페이지 " data-add-back-btn="true"> <!-- 뒤로가기버튼추가 --> <div data-role="header" data-backbtn="true"> <h1> 페이지 </h1> Web Programming Networking Laboratory 22/26

23 JQuery Mobile Components (10/12) Multi-line List View (2/3) <div data-role="content"> <ul data-role="listview"> <li> <a href="#"> <!-- 리스트전체를클릭할수있게변경 --> <img width="80px" height="80px" src="img.png"> <!-- 리스트왼쪽에이미지추가 --> <h3> 제목 1</h3> <!-- 리스트제목추가 --> <p> 내용 1</p> <!-- 리스트부연추가 --> <p class="ui-li-aside"> 작성자 1</p> <!-- 리스트우측부연추가 --> <span class="ui-li-count">1</span> <!-- 리스트우측숫자추가 --> </a> </li> <li> <a href="#"> <img width="80px" height="80px" src="img.png"> <h3> 제목 2</h3> <p> 내용 2</p> <p class="ui-li-aside"> 작성자 2</p> <span class="ui-li-count">2</span> </a> </li> Web Programming Networking Laboratory 23/26

24 JQuery Mobile Components (11/12) Multi-line List View (3/3) <li> <a href="#"> <img width="80px" height="80px" src="img.png"> <h3> 제목 3</h3> <p> 내용 3</p> <p class="ui-li-aside"> 작성자 3</p> <span class="ui-li-count">3</span> </a> </li> </ul> <div data-role="footer" class="ui-bar" data-position="fixed"> <!-- controlgroup 속성을통해하나의블록으로보이게수정 --> <div data-role="controlgroup" data-type="horizontal"> <a href="#"> 페이지 1</a> <a href="#"> 페이지 2</a> <a href="#"> 페이지 3</a> </body> </html> Web Programming Networking Laboratory 24/26

25 JQuery Mobile Components (12/12) Radio Select Button Understanding the syntax of Radio Button in JQuery Mobile <body><div data-role="page" id="page1"> <div data-role="header"> <h1>header 영역 </h1> <div data-role="content"> <fieldset data-role="controlgroup"> <legend> 학년 </legend> <input type="radio" name="syear" id="syear1" value="1"/> <label for="syear1">1 학년 </label> <input type="radio" name="syear" id="syear2" value="2"/> <label for="syear2">2 학년 </label> <input type="radio" name="syear" id="syear3" value="3" checked="checked"/> <label for="syear3">3 학년 </label> <input type="radio" name="syear" id="syear4" value="4"/> <label for="syear4">4 학년 </label> </fieldset> <fieldset data-role="controlgroup" data-type="horizontal"> <legend> 학기 </legend> <input type="radio" name="semester" id="semester1" value="1" checked="checked"/> <label for="semester1">1 학기 </label> <input type="radio" name="semester" id="semester2" value="2"/> <label for="semester2">2 학기 </label> </fieldset> <div data-role="footer" data-position="fixed"> <h4>footer 영역 </h4> </body> Web Programming Networking Laboratory 25/26

26 Other JQuery Mobile Components Web Programming Networking Laboratory 26/26

src1-malan/ajax/ajax1.html ajax1.html Gets stock quote from quote1.php via Ajax, displaying result with alert().

src1-malan/ajax/ajax1.html ajax1.html Gets stock quote from quote1.php via Ajax, displaying result with alert(). src1-malan/ajax/ajaxhtml 1 1 1 1 1 2 2 2 2 2 2 2 2 30. 3 3 3 3 3 3 3 3 3 40. 4 4 4 4 4 4 4 4 ajaxhtml Gets stock quote from quotephp via Ajax, displaying result with alert(). Building Mobile Applications

More information

Mobile Apps with jquery Mobile. Kai Tödter Siemens Building Technologies

Mobile Apps with jquery Mobile. Kai Tödter Siemens Building Technologies Mobile Apps with jquery Mobile Kai Tödter Siemens Building Technologies Who am I? Senior Software System Architect at Siemens Building Technologies Eclipse expert and OSGi enthusiast Web Technology expert

More information

Building and packaging mobile apps in Dreamweaver CC

Building and packaging mobile apps in Dreamweaver CC Building and packaging mobile apps in Dreamweaver CC Requirements Prerequisite knowledge Previous experience with Dreamweaver, jquery Mobile, and PhoneGap will help you make the most of this tutorial.

More information

Mobile Web Development

Mobile Web Development Mobile Web Development By Phil Huhn 2013-04-30 2013 Northern Software Group Agenda Web-site issues for mobile devices Responsive Design Media Queries Twitter Bootstrap As-is (themes) less variables.less

More information

Chapter 6 CSS Layout and Animation

Chapter 6 CSS Layout and Animation Sungkyunkwan University Chapter 6 CSS Layout and Animation Prepared by Y. Kim and H. Choo Web Programming Copyright 2000-2018 Networking Networking Laboratory Laboratory 1/87 Copyright 2000-2012 Networking

More information

Cordova - Guide - App Development - Basics

Cordova - Guide - App Development - Basics Cordova - Guide - App Development - Basics Dr Nick Hayward A brief overview and introduction to Apache Cordova application development and design. Contents intro Cordova CLI - build initial project Cordova

More information

1061SMAP12 TLMXM1A (8648) (M2143) (Fall 2017) (MIS MBA) (2 Credits, Elective) [Full English Course] Fri 8,9 (15:10-17:00) B206

1061SMAP12 TLMXM1A (8648) (M2143) (Fall 2017) (MIS MBA) (2 Credits, Elective) [Full English Course] Fri 8,9 (15:10-17:00) B206 Tamkang University Social Media Apps Programming Google Map API 1061SMAP12 TLMXM1A (8648) (M2143) (Fall 2017) (MIS MBA) (2 Credits, Elective) [Full English Course] Fri 8,9 (15:10-17:00) B206 Min-Yuh Day,

More information

http://nma.kcc.hawaii.edu/gargiulo/data/johndoe/spring/art128/2014/companyname1_step3/index.html 1 2 3 4 5 company Name 6 7

More information

Responsive Web Design and Bootstrap MIS Konstantin Bauman. Department of MIS Fox School of Business Temple University

Responsive Web Design and Bootstrap MIS Konstantin Bauman. Department of MIS Fox School of Business Temple University Responsive Web Design and Bootstrap MIS 2402 Konstantin Bauman Department of MIS Fox School of Business Temple University Exam 3 (FINAL) Date: 12/06/18 four weeks from now! JavaScript, jquery, Bootstrap,

More information

Lab 1: Introducing HTML5 and CSS3

Lab 1: Introducing HTML5 and CSS3 CS220 Human- Computer Interaction Spring 2015 Lab 1: Introducing HTML5 and CSS3 In this lab we will cover some basic HTML5 and CSS, as well as ways to make your web app look and feel like a native app.

More information

Introduc6on to Android / ios Apps Programming

Introduc6on to Android / ios Apps Programming 2013-10- 03 Tamkang University Social Media Apps Programming Introduc6on to Android / ios Apps Programming 1021SMAP02 TLMXM1A (8687) (M2143) (Fall 2013) (MIS MBA) (2 Credits, Elec9ve) [Full English Course]

More information

IDM 221. Web Design I. IDM 221: Web Authoring I 1

IDM 221. Web Design I. IDM 221: Web Authoring I 1 IDM 221 Web Design I IDM 221: Web Authoring I 1 Week 7 IDM 221: Web Authoring I 2 Page Layout Part 1 IDM 221: Web Authoring I 3 Part 1 because part 2 is coming next term (RWD, Flexbox, Grids) Posi%on An

More information

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3

Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3 Multimedia Systems and Technologies Lab class 6 HTML 5 + CSS 3 Instructions to use the laboratory computers (room B2): 1. If the computer is off, start it with Windows (all computers have a Linux-Windows

More information

WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5

WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5 Chapter 7 Key Concepts 1 In this chapter, you will learn how to... LEARNING OUTCOMES Code relative hyperlinks to web pages in folders within a website Configure

More information

Front-End UI: Bootstrap

Front-End UI: Bootstrap Responsive Web Design BootStrap Front-End UI: Bootstrap Responsive Design and Grid System Imran Ihsan Assistant Professor, Department of Computer Science Air University, Islamabad, Pakistan www.imranihsan.com

More information

Chapter 7 BMIS335 Web Design & Development

Chapter 7 BMIS335 Web Design & Development Chapter 7 BMIS335 Web Design & Development Site Organization Use relative links to navigate between folders within your own site o Sometimes dividing your site into folders makes maintenance and updating

More information

Designing Responsive Web Mobile Mapping Applications. Andy

Designing Responsive Web Mobile Mapping Applications. Andy Designing Responsive Web Mobile Mapping Applications Andy Gup, @agup Reponsive Libraries And User Interface Frameworks Web Mobile Design Key Considerations Mobile Devices Are different Physical device

More information

Introduction to Computer Science Web Development

Introduction to Computer Science Web Development Introduction to Computer Science Web Development Flavio Esposito http://cs.slu.edu/~esposito/teaching/1080/ Lecture 14 Lecture outline Discuss HW Intro to Responsive Design Media Queries Responsive Layout

More information

Responsive Web Design (RWD)

Responsive Web Design (RWD) Responsive Web Design (RWD) Responsive Web Design: design Web pages, so that it is easy to see on a wide range of of devices phone, tablet, desktop,... Fixed vs Fluid layout Fixed: elements have fixed

More information

Mobile Web Appplications Development with HTML5

Mobile Web Appplications Development with HTML5 Mobile Web Appplications Development with HTML5 Lecture 2: Building a Mobile Web App Claudio Riva Aalto University - Fall 2012 1 / 49 LECTURE 2: BUILDING A MOBILE WEB APP OUR FIRST MOBILE WEB APP NEW HTML5

More information

jquery Mobile Web Development Essentials

jquery Mobile Web Development Essentials jquery Mobile Web Development Essentials Raymond Camden Andy Matthews Chapter No. 5 "Getting Practical Building a Simple Hotel Mobile Site" In this package, you will find: A Biography of the authors of

More information

Programmazione Web a.a. 2017/2018 HTML5

Programmazione Web a.a. 2017/2018 HTML5 Programmazione Web a.a. 2017/2018 HTML5 PhD Ing.Antonino Raucea antonino.raucea@dieei.unict.it 1 Introduzione HTML HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text

More information

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6 CS 350 COMPUTER/HUMAN INTERACTION Lecture 6 Setting up PPP webpage Log into lab Linux client or into csserver directly Webspace (www_home) should be set up Change directory for CS 350 assignments cp r

More information

COMS 359: Interactive Media

COMS 359: Interactive Media COMS 359: Interactive Media Agenda Review CSS Layout Preview Review Introducting CSS What is CSS? CSS Syntax Location of CSS The Cascade Box Model Box Structure Box Properties Review Style is cascading

More information

There are 3 places you can write CSS.

There are 3 places you can write CSS. EXTRA CSS3. #4 Where to write CSS. There are 3 places you can write CSS. The best option is to write CSS is in a separate.css file. You then link that file to your HTML file in the head of your document:

More information

Unit 10 - Client Side Customisation of Web Pages. Week 5 Lesson 1 CSS - Selectors

Unit 10 - Client Side Customisation of Web Pages. Week 5 Lesson 1 CSS - Selectors Unit 10 - Client Side Customisation of Web Pages Week 5 Lesson 1 CSS - Selectors Last Time CSS box model Concept of identity - id Objectives Selectors the short story (or maybe not) Web page make-over!

More information

Wireframe :: tistory wireframe tistory.

Wireframe :: tistory wireframe tistory. Page 1 of 45 Wireframe :: tistory wireframe tistory Daum Tistory GO Home Location Tags Media Guestbook Admin 'XHTML+CSS' 7 1 2009/09/20 [ ] XHTML CSS - 6 (2) 2 2009/07/23 [ ] XHTML CSS - 5 (6) 3 2009/07/17

More information

2005 WebGUI Users Conference

2005 WebGUI Users Conference Cascading Style Sheets 2005 WebGUI Users Conference Style Sheet Types 3 Options Inline Embedded Linked Inline Use an inline style sheet to modify a single element one time in a page.

More information

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST

GIMP WEB 2.0 MENUS WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR CREATING AN HTML LIST GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: CREATING AN HTML LIST Most horizontal or vertical navigation bars begin with a simple

More information

Min-Yuh Day, Ph.D. Assistant Professor Department of Informa9on Management Tamkang University

Min-Yuh Day, Ph.D. Assistant Professor Department of Informa9on Management Tamkang University Tamkang University Social Media Apps Programming Google App Engine and Google Map API 1041SMAP11 TLMXM1A (8687) (M2143) (Fall 2015) (MIS MBA) (2 Credits, Elec9ve) [Full English Course] Wed 9,10 (16:10-18:00)

More information

YouTube Break. https://www.youtube.com/watch?v=lvtfd_rj2he

YouTube Break. https://www.youtube.com/watch?v=lvtfd_rj2he Layout Jeff Avery YouTube Break https://www.youtube.com/watch?v=lvtfd_rj2he Positioning Visual Components Previously, we learned about event handling and model-view-control architecture. Next, we need

More information

Create First Web Page With Bootstrap

Create First Web Page With Bootstrap Bootstrap : Responsive Design Create First Web Page With Bootstrap 1. Add the HTML5 doctype Bootstrap uses HTML elements and CSS properties that require the HTML5 doctype. 2. Bootstrap 3 is mobile-first

More information

Mobile Development June 2015, TEIATH, Greece

Mobile Development June 2015, TEIATH, Greece Mobile Development June 2015, TEIATH, Greece Presentation Overview 1. Introduction 2. Mobile Application Development 3. Cordova / Phonegap 4. Development Framework 5. Examples 1. INTRODUCTION Introduction

More information

JQUERYUI - SORTABLE. axis This option indicates an axis of movement "x" is horizontal, "y" is vertical. By default its value is false.

JQUERYUI - SORTABLE. axis This option indicates an axis of movement x is horizontal, y is vertical. By default its value is false. JQUERYUI - SORTABLE http://www.tutorialspoint.com/jqueryui/jqueryui_sortable.htm Copyright tutorialspoint.com jqueryui provides sortable method to reorder elements in list or grid using the mouse. This

More information

CSS. https://developer.mozilla.org/en-us/docs/web/css

CSS. https://developer.mozilla.org/en-us/docs/web/css CSS https://developer.mozilla.org/en-us/docs/web/css http://www.w3schools.com/css/default.asp Cascading Style Sheets Specifying visual style and layout for an HTML document HTML elements inherit CSS properties

More information

Responsive web design (RWD) CSS3 Media queries. Mobile vs desktop web sites. Web Development 1 CS1115/CS5002

Responsive web design (RWD) CSS3 Media queries. Mobile vs desktop web sites. Web Development 1 CS1115/CS5002 1 of 13 CS1115/CS5002 Web Development 1 Dr Derek Bridge School of Computer Science & Information Technology University College Cork Mobile vs desktop web sites A few organization have two web sites, one

More information

CREATING A MOBILE APPLICATION USING ECLIPSE WITH MOSYNC SOFTWARE DEVELOPMENT KIT

CREATING A MOBILE APPLICATION USING ECLIPSE WITH MOSYNC SOFTWARE DEVELOPMENT KIT CREATING A MOBILE APPLICATION USING ECLIPSE WITH MOSYNC SOFTWARE DEVELOPMENT KIT Vitaly Vinnikov Bachelor s Thesis School of Business and Culture Degree Programme in Business Information Technology Bachelor

More information

Bootstrap Carousel. jquery Image Sliders

Bootstrap Carousel. jquery Image Sliders Bootstrap Carousel jquery Image Sliders Bootstrap Carousel Carousel bootstarp css js jquery js bootstrap.js http://getbootstrap.com/javascript/#carousel item ol.carousel-indicators li

More information

HTML & CSS November 19, 2014

HTML & CSS November 19, 2014 University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln Digital Humanities Workshop Series Center for Digital Research in the Humanities 11-19-2014 HTML & CSS November 19, 2014

More information

Responsive Web Design. From: Ethan Marcotte - Responsive Web Design 2011

Responsive Web Design. From: Ethan Marcotte - Responsive Web Design 2011 Responsive Web Design From: Ethan Marcotte - Responsive Web Design 2011 Motivation Browser windows have their inconsistencies and imperfections Once web pages are published online, the designs are immediately

More information

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar with Dynamic Background Image WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR DYNAMIC BACKGROUND IMAGE Before you begin this tutorial, you will need

More information

Block & Inline Elements

Block & Inline Elements Block & Inline Elements Every tag in HTML can classified as a block or inline element. > Block elements always start on a new line (Paragraph, List items, Blockquotes, Tables) > Inline elements do not

More information

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) More on Relative Linking. Learning Objectives (2 of 2)

8/19/2018. Web Development & Design Foundations with HTML5. Learning Objectives (1 of 2) More on Relative Linking. Learning Objectives (2 of 2) Web Development & Design Foundations with HTML5 Ninth Edition Chapter 7 More on Links, Layout, and Mobile Slides in this presentation contain hyperlinks. JAWS users should be able to get a list of links

More information

CSS3: Using media queries to improve the web site experience. November 19, 2011 indieconf Zoe Mickley

CSS3: Using media queries to improve the web site experience. November 19, 2011 indieconf Zoe Mickley CSS3: Using media queries to improve the web site experience November 19, 2011 indieconf Zoe Mickley Gillenwater @zomigi What I do Books Web Stunning CSS3: A Project-based Guide to the Latest in CSS Accessibility

More information

TAG STYLE SELECTORS. div Think of this as a box that contains things, such as text or images. It can also just be a

TAG STYLE SELECTORS. div Think of this as a box that contains things, such as text or images. It can also just be a > > > > CSS Box Model Think of this as a box that contains things, such as text or images. It can also just be a box, that has a border or not. You don't have to use a, you can apply the box model to any

More information

CSC309 Programming on the Web week 3: css, rwd

CSC309 Programming on the Web week 3: css, rwd CSC309 Programming on the Web week 3: css, rwd Amir H. Chinaei, Spring 2017 Office Hours: M 3:45-5:45 BA4222 ahchinaei@cs.toronto.edu http://www.cs.toronto.edu/~ahchinaei/ survey 1 in survey 1, you provide

More information

Web Engineering CSS. By Assistant Prof Malik M Ali

Web Engineering CSS. By Assistant Prof Malik M Ali Web Engineering CSS By Assistant Prof Malik M Ali Overview of CSS CSS : Cascading Style Sheet a style is a formatting rule. That rule can be applied to an individual tag element, to all instances of a

More information

CSS: Layout Part 2. clear. CSS for layout and formatting: clear

CSS: Layout Part 2. clear. CSS for layout and formatting: clear CSS: Layout Part 2 Robert A. Fulkerson College of Information Science and Technology http://www.ist.unomaha.edu/ University of Nebraska at Omaha http://www.unomaha.edu/ CSS for layout and formatting: clear

More information

WEBSI TE DESIGNING TRAINING

WEBSI TE DESIGNING TRAINING WEBSI TE DESIGNING TRAINING WHAT IS WEB DESIGN? We b s ite design m e a n s p l a n n i n g, c r e a t i o n and u p d a t i n g of websites. We bsite design also involves i n f o r m a t i o n a rchitecture,

More information

Purpose of this doc. Most minimal. Start building your own portfolio page!

Purpose of this doc. Most minimal. Start building your own portfolio page! Purpose of this doc There are abundant online web editing tools, such as wordpress, squarespace, etc. This document is not meant to be a web editing tutorial. This simply just shows some minimal knowledge

More information

CSS. MPRI : Web Data Management. Antoine Amarilli Friday, December 7th 1/43

CSS. MPRI : Web Data Management. Antoine Amarilli Friday, December 7th 1/43 CSS MPRI 2.26.2: Web Data Management Antoine Amarilli Friday, December 7th 1/43 Overview Cascading Style Sheets W3C standard: CSS 1 1996 CSS 2 1998 CSS 2.1 2011, 487 pages CSS 3.0 Ongoing (various modules),

More information

The default style for an unordered (bulleted) list is the bullet, or dot. You can change the style to either a square or a circle as follows:

The default style for an unordered (bulleted) list is the bullet, or dot. You can change the style to either a square or a circle as follows: CSS Tutorial Part 2: Lists: The default style for an unordered (bulleted) list is the bullet, or dot. You can change the style to either a square or a circle as follows: ul { list-style-type: circle; or

More information

Designing and Developing a Website. 7 May Examination Paper. Time: 3 hours

Designing and Developing a Website. 7 May Examination Paper. Time: 3 hours Designing and Developing a Website 7 May 205 Examination Paper Answer ALL questions. Clearly cross out surplus answers. Time: 3 hours The maximum mark for this paper is 00. Any reference material brought

More information

Oracle Utilities Customer Self Service

Oracle Utilities Customer Self Service Oracle Utilities Customer Self Service Whitepaper: Creating and Deploying the Sample Mobile Client Application Release 2.1.0 Service Pack 1 E38172-05 June 2014 Oracle Utilities Customer Self Service Whitepaper:

More information

5 Snowdonia. 94 Web Applications with C#.ASP

5 Snowdonia. 94 Web Applications with C#.ASP 94 Web Applications with C#.ASP 5 Snowdonia In this and the following three chapters we will explore the use of particular programming techniques, before combining these methods to create two substantial

More information

Using CSS for page layout

Using CSS for page layout Using CSS for page layout Advantages: Greater typographic control Style is separate from structure Potentially smaller documents Easier site maintenance Increased page layout control Increased accessibility

More information

Building Responsive Layouts

Building Responsive Layouts Building Responsive Layouts by Zoe Mickley Gillenwater @zomigi zomigi.com December 5, 2012 CSS Dev Conf hello nice to meet you 2 I don t use a mobile phone I have a process for eating these why responsive

More information

Markup Language. Made up of elements Elements create a document tree

Markup Language. Made up of elements Elements create a document tree Patrick Behr Markup Language HTML is a markup language HTML markup instructs browsers how to display the content Provides structure and meaning to the content Does not (should not) describe how

More information

Zen Garden. CSS Zen Garden

Zen Garden. CSS Zen Garden CSS Patrick Behr CSS HTML = content CSS = display It s important to keep them separated Less code in your HTML Easy maintenance Allows for different mediums Desktop Mobile Print Braille Zen Garden CSS

More information

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space.

HTML Summary. All of the following are containers. Structure. Italics Bold. Line Break. Horizontal Rule. Non-break (hard) space. HTML Summary Structure All of the following are containers. Structure Contains the entire web page. Contains information

More information

The starter app has a menu + 2 Views : Dashboard. About

The starter app has a menu + 2 Views : Dashboard. About Front End The starter app has a menu + 2 Views : Dashboard About All views will be based on structure laid down in Layout layout/main.hbs. Includes Semantic-UI CSS library View content will

More information

HTML5: Adding Style. Styling Differences. HTML5: Adding Style Nancy Gill

HTML5: Adding Style. Styling Differences. HTML5: Adding Style Nancy Gill HTML5: Adding Style In part 2 of a look at HTML5, Nancy will show you how to add CSS to the previously unstyled document from part 1 and why there are some differences you need to watch out for. In this

More information

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar

GIMP WEB 2.0 MENUS. Web 2.0 Menus: Horizontal Navigation Bar GIMP WEB 2.0 MENUS Web 2.0 Menus: Horizontal Navigation Bar WEB 2.0 MENUS: HORIZONTAL NAVIGATION BAR Hover effect: You may create your button in GIMP. Mine is 122 pixels by 48 pixels. You can use whatever

More information

Introduction to ARIA and HTML5. Jared Smith & Jonathan Whiting webaim.org

Introduction to ARIA and HTML5. Jared Smith & Jonathan Whiting webaim.org Introduction to ARIA and HTML5 Jared Smith & Jonathan Whiting webaim.org ARIA ARIA Accessible Rich Internet Applications Specification developed by the PFWG of the W3C s WAI. Huh? W3C Candidate Recommendation

More information

CSS Cascading Style Sheets

CSS Cascading Style Sheets CSS Cascading Style Sheets site root index.html about.html services.html stylesheet.css images boris.jpg Types of CSS External Internal Inline External CSS An external style sheet is a text document with

More information

Web Site Design and Development Lecture 9. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM

Web Site Design and Development Lecture 9. CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM Web Site Design and Development Lecture 9 CS 0134 Fall 2018 Tues and Thurs 1:00 2:15PM Floating elements on a web page By default block elements fll the page from top to bottom and inline elements fll

More information

Web Designing HTML5 NOTES

Web Designing HTML5 NOTES Web Designing HTML5 NOTES HTML Introduction What is HTML? HTML is the standard markup language for creating Web pages. HTML stands for Hyper Text Markup Language HTML describes the structure of Web pages

More information

Chapter 6: CSS Layouts

Chapter 6: CSS Layouts Chapter 6: CSS Layouts Learning Outcomes: Identify the four types of CSS positioning: static, relative, fixed and absolute Identify the use of CSS floats Be able to implement HTML and CSS to construct

More information

CSS often uses hyphens in CSS property names but JavaScript uses camel case, e.g. color: blue; p { <!DOCTYPE html> <meta charset="utf-8" /> <head>

CSS often uses hyphens in CSS property names but JavaScript uses camel case, e.g. color: blue; p { <!DOCTYPE html> <meta charset=utf-8 /> <head> 1 of 9 CS1116/CS5018 Web Development 2 Dr Derek Bridge School of Computer Science & Information Technology University College Cork Recap To find nodes: queryselector, queryselectorall To create new element

More information

Styles, Style Sheets, the Box Model and Liquid Layout

Styles, Style Sheets, the Box Model and Liquid Layout Styles, Style Sheets, the Box Model and Liquid Layout This session will guide you through examples of how styles and Cascading Style Sheets (CSS) may be used in your Web pages to simplify maintenance of

More information

Stamp Builder. Documentation. v1.0.0

Stamp  Builder. Documentation.   v1.0.0 Stamp Email Builder Documentation http://getemailbuilder.com v1.0.0 THANK YOU FOR PURCHASING OUR EMAIL EDITOR! This documentation covers all main features of the STAMP Self-hosted email editor. If you

More information

HTML5 and CSS3: New Markup & Styles for the Emerging Web. Jason Clark Head of Digital Access & Web Services Montana State University Library

HTML5 and CSS3: New Markup & Styles for the Emerging Web. Jason Clark Head of Digital Access & Web Services Montana State University Library HTML5 and CSS3: New Markup & Styles for the Emerging Web Jason Clark Head of Digital Access & Web Services Montana State University Library Overview Revolution or Evolution? New Features and Functions

More information

AGENDA :: MULTIMEDIA TOOLS :: (1382) :: CLASS NOTES

AGENDA :: MULTIMEDIA TOOLS :: (1382) :: CLASS NOTES CLASS :: 13 12.01 2014 AGENDA SIMPLE CSS MENU W/ HOVER EFFECTS :: The Nav Element :: Styling the Nav :: UL, LI, and Anchor Elements :: Styling the UL and LI Elements TEMPLATE CREATION :: Why Templates?

More information

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014

1/6/ :28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014 1/6/2019 12:28 AM Approved New Course (First Version) CS 50A Course Outline as of Fall 2014 CATALOG INFORMATION Dept and Nbr: CS 50A Title: WEB DEVELOPMENT 1 Full Title: Web Development 1 Last Reviewed:

More information

HTML Organizing Page Content

HTML Organizing Page Content HTML Organizing Page Content CSS for layout Examples http://www.shinybytes.com/newcss.html Generic Elements Used to create a logical grouping of content or elements on the page Can be customized to describe

More information

TODAY S AGENDA. An introduction for Libraries UW-SLIS CES Webinar April 6, 2015 What is Responsive Web Design? Definition & History

TODAY S AGENDA. An introduction for Libraries UW-SLIS CES Webinar April 6, 2015 What is Responsive Web Design? Definition & History TODAY S AGENDA An introduction for Libraries UW-SLIS CES Webinar April 6, 2015 What is Responsive Web Design? Definition & History How do I DO Responsive Web Design? Tips & Tricks & Jargon Where do I go

More information

Style-Guidelines. Release 0.1

Style-Guidelines. Release 0.1 Style-Guidelines Release 0.1 Oct 31, 2017 Contents 1 Guidelines 3 i ii Author lxneng (Eric Lo) Version 1.0 Contents 1 2 Contents CHAPTER 1 Guidelines Python Code Style GuideLine PEP 8 : 4 : : 79,., =

More information

CSS (Cascading Style Sheets)

CSS (Cascading Style Sheets) CSS (Cascading Style Sheets) CSS (Cascading Style Sheets) is a language used to describe the appearance and formatting of your HTML. It allows designers and users to create style sheets that define how

More information

HTML5 and Mobile: New Markup & Styles for the Mobile Web. Jason Clark Head of Digital Access & Web Services Montana State University Libraries

HTML5 and Mobile: New Markup & Styles for the Mobile Web. Jason Clark Head of Digital Access & Web Services Montana State University Libraries HTML5 and Mobile: New Markup & Styles for the Mobile Web Jason Clark Head of Digital Access & Web Services Montana State University Libraries Overview Demos View some code bits New Features and Functions

More information

First Diploma Unit 10 Client Side Web. Week 4 CSS and Images

First Diploma Unit 10 Client Side Web. Week 4 CSS and Images First Diploma Unit 10 Client Side Web Week 4 CSS and Images Last Session CSS box model Concept of identity - id This Session External style sheets Using CSS in conjunction with images Introduction External

More information

HTML & CSS Cheat Sheet

HTML & CSS Cheat Sheet 1 HTML & CSS Cheat Sheet Fall 2017 HTML & CSS Cheat Sheet from Typographic Web Design 3 by Laura Franz Web safe fonts vs web fonts You can expect these web safe fonts to work across most platforms and

More information

Bootstrap 1/20

Bootstrap 1/20 http://getbootstrap.com/ Bootstrap 1/20 MaxCDN

More information

CE419 Web Programming. Session 3: HTML (contd.), CSS

CE419 Web Programming. Session 3: HTML (contd.), CSS CE419 Web Programming Session 3: HTML (contd.), CSS 1 Forms 2 Forms Provides a way to interact with users. Not useful without a server-side counterpart. 3 From Elements

More information

IDM 221. Web Design I. IDM 221: Web Authoring I 1

IDM 221. Web Design I. IDM 221: Web Authoring I 1 IDM 221 Web Design I IDM 221: Web Authoring I 1 Week 6 IDM 221: Web Authoring I 2 The Box Model IDM 221: Web Authoring I 3 When a browser displays a web page, it places each HTML block element in a box.

More information

BA. (Hons) Graphics Design

BA. (Hons) Graphics Design BA. (Hons) Graphics Design Cohort: BGD/16A/FT Examinations for 2018 / Semester 1 Resit Examinations for BGD/15B/FT MODULE: Advanced Web Design MODULE CODE: WAT3110C Duration: 2 Hours Instructions to Candidates:

More information

Intro, Version Control, HTML5. CS147L Lecture 1 Mike Krieger

Intro, Version Control, HTML5. CS147L Lecture 1 Mike Krieger Intro, Version Control, HTML5 CS147L Lecture 1 Mike Krieger Hello! - A little about me. Hello! - And a little bit about you? By the end of today - Know what this lab will & won t teach you - Have checked

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development Objectives INFS 2150 Introduction to Web Development Create a media query Work with the browser viewport Apply a responsive design Create a pulldown menu with CSS Create a flexbox 5. Mobile Web INFS 2150

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development INFS 2150 Introduction to Web Development 5. Mobile Web Objectives Create a media query Work with the browser viewport Apply a responsive design Create a pulldown menu with CSS Create a flexbox INFS 2150

More information

CSS3, Media Queries, & Responsive Design. May 23, 2012 STC Summit Zoe Mickley

CSS3, Media Queries, & Responsive Design. May 23, 2012 STC Summit Zoe Mickley CSS3, Media Queries, & Responsive Design May 23, 2012 STC Summit Zoe Mickley Gillenwater @zomigi What I do Books Stunning CSS3: A Project-based Guide to the Latest in CSS www.stunningcss3.com Flexible

More information

Introduction to WEB PROGRAMMING

Introduction to WEB PROGRAMMING Introduction to WEB PROGRAMMING Web Languages: Overview HTML CSS JavaScript content structure look & feel transitions/animation s (CSS3) interaction animation server communication Full-Stack Web Frameworks

More information

Enhancing Responsive Layouts With

Enhancing Responsive Layouts With CSS Layouts Enhancing Responsive Layouts With JQuery Enhancing Responsive Layouts With JQuery You can do a lot with just HTML and CSS (particularly HTML5 and CSS3), and we can design beautiful and beautifully

More information

Advanced Dreamweaver CS6

Advanced Dreamweaver CS6 Advanced Dreamweaver CS6 Overview This advanced Dreamweaver CS6 training class teaches you to become more efficient with Dreamweaver by taking advantage of Dreamweaver's more advanced features. After this

More information

appendix Introduction to Foundation, the front-end framework

appendix Introduction to Foundation, the front-end framework APPENDIX B appendix Introduction to Foundation, the front-end framework When prototyping responsive websites, building quickly is key. They don t call it rapid prototyping for nothing. Using a front-end

More information

What do we mean by layouts?

What do we mean by layouts? What do we mean by layouts? A layout is how you position the elements of your page You can have columns Move paragraphs and sections around And you can do this all without changing the content of your

More information

Class 9 / Instructor: Ira Epstein

Class 9 / Instructor: Ira Epstein Fashion Institute of Technology http://www.iraworks.com/fit Introduction to Web Design / CT244 Instructor: Ira Epstein iraepst@gmail.com Class 9 / 4-3-18 1) Attendance and Announcements... 2:10-2:20 a)

More information

Internet Programming 1 ITG 212 / A

Internet Programming 1 ITG 212 / A Internet Programming 1 ITG 212 / A Lecture 10: Cascading Style Sheets Page Layout Part 2 1 1 The CSS Box Model top margin top border top padding left margin left border left padding Content right padding

More information

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development INFS 2150 Introduction to Web Development 3. Page Layout Design Objectives Create a reset style sheet Explore page layout designs Center a block element Create a floating element Clear a floating layout

More information