HTML and CSS. Data Technologies. HTML Headings. Background Reading

Similar documents
CSC 121 Computers and Scientific Thinking

recall: a Web page is a text document that contains additional formatting information in the HyperText Markup Language (HTML)

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

A Balanced Introduction to Computer Science, 3/E

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

HTMLnotesS15.notebook. January 25, 2015

Block & Inline Elements

Page Layout Using Tables

Zen Garden. CSS Zen Garden

Make a Website. A complex guide to building a website through continuing the fundamentals of HTML & CSS. Created by Michael Parekh 1

Basics of Web Design, 3 rd Edition Instructor Materials Chapter 2 Test Bank

HTML and CSS COURSE SYLLABUS

Basic CSS Lecture 17

The internet is a worldwide collection of networks that link millions of computers. These links allow the computers to share and send data.

Deccansoft Software Services

<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***

Indian Institute of Technology Kharagpur. HTML Part III. Prof. Indranil Sen Gupta Dept. of Computer Science & Engg. I.I.T.

ICT IGCSE Practical Revision Presentation Web Authoring

Chapter 1 Getting Started with HTML 5 1. Chapter 2 Introduction to New Elements in HTML 5 21

Creating Web Pages. Getting Started

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

ICT IGCSE Practical Revision Presentation Web Authoring

Text and Layout. Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman Chapter 11. This presentation 2004, MacAvon Media Productions

HTML + CSS. ScottyLabs WDW. Overview HTML Tags CSS Properties Resources

CSS.

WEB DEVELOPMENT & DESIGN FOUNDATIONS WITH HTML5

Hyper Text Markup Language HTML: A Tutorial

HTML BEGINNING TAGS. HTML Structure <html> <head> <title> </title> </head> <body> Web page content </body> </html>

HTML Markup. Heading Tags

CSS: The Basics CISC 282 September 20, 2014

c122sep814.notebook September 08, 2014 All assignments should be sent to Backup please send a cc to this address

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

c122jan2714.notebook January 27, 2014

Chapter 7 BMIS335 Web Design & Development

COMP519 Web Programming Lecture 6: Cascading Style Sheets: Part 2 Handouts

IMY 110 Theme 7 HTML Tables

Markup Language SGML: Standard Generalized Markup Language. HyperText Markup Language (HTML) extensible Markup Language (XML) TeX LaTeX

Styles, Style Sheets, the Box Model and Liquid Layout

Lab Introduction to Cascading Style Sheets

Website Development with HTML5, CSS and Bootstrap

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

Introduction to Computer Science (I1100) Internet. Chapter 7

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

Final Exam Study Guide

Html basics Course Outline

Bixby Public Schools Course Essential Elements Grade: Desktop Publishing

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

Cascading Style Sheets

COMPUTER APPLICATIONS IN BUSINESS FYBMS SEM II

HTML & CSS November 19, 2014

Web Development & Design Foundations with HTML5 & CSS3 Instructor Materials Chapter 2 Test Bank

Exam II CIS 228: The Internet Prof. St. John Lehman College City University of New York 5 November 2009

Creating A Web Page. Computer Concepts I and II. Sue Norris

HTML TAG SUMMARY HTML REFERENCE 18 TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES TAG/ATTRIBUTE DESCRIPTION PAGE REFERENCES MOST TAGS

Structure Bars. Tag Bar

Introduction to Computer Science (I1100) Internet. Chapter 7

Web Design and Development ACS Chapter 11. Creating Lists 11/16/2017 1

A HTML document has two sections 1) HEAD section and 2) BODY section A HTML file is saved with.html or.htm extension

CS 350 COMPUTER/HUMAN INTERACTION. Lecture 6

INTRODUCTION TO CSS. Mohammad Jawad Kadhim

ITNP43: HTML Lecture 4

Web Engineering CSS. By Assistant Prof Malik M Ali

Assignments (4) Assessment as per Schedule (2)

CSS: Lists, Tables and the Box Model

Introduction to HTML. SSE 3200 Web-based Services. Michigan Technological University Nilufer Onder

HTML Hints & Tips. HTML is short for HyperText Markup Language.

CREATING A WEBSITE USING CSS. Mrs. Procopio CTEC6 MYP1

Introduction to CSS. 2 Sep 13. Derek Peacock. An introduction to defining CSS style rules using tags, classes and ids.

HTML & CSS. Rupayan Neogy

CITS1231 Midterm Test (A total of 45 marks)

c122sep2214.notebook September 22, 2014

Module 2 (VII): CSS [Part 4]

Certified HTML5 Developer VS-1029

Web Development and Design Foundations with HTML5 8th Edition

CMPT 165 Advanced XHTML & CSS Part 3

CSS: Cascading Style Sheets

LING 408/508: Computational Techniques for Linguists. Lecture 14

Introduction to HTML. Bin Li Assistant Professor Dept. of Electrical, Computer and Biomedical Engineering University of Rhode Island

CSS Design and Layout Basic Exercise instructions. Today's exercises. Part 1: Arrange Page into Sections. Part 1, details (screenshot below)

ORB Education Quality Teaching Resources


Introduction to Web Technologies

Introduction to using HTML to design webpages

Web Design and Development Tutorial 03

Introduction to WEB PROGRAMMING

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development

COSC 2206 Internet Tools. CSS Cascading Style Sheets

Programmazione Web a.a. 2017/2018 HTML5

CSS: formatting webpages

Unit 5 Web Publishing Systems Page 1 of 13 Part 4 HTML Part 4

Creating and Building Websites

Adobe Dreamweaver CS4

CIS 228 (Fall, 2012) Exam 2, 11/20/12

CSS CSS how to display to solve a problem External Style Sheets CSS files CSS Syntax

HTML Tags Chart. To use any of the following HTML tags, simply select the HTML code you'd like and copy and paste it into your web page.

Dreamweaver MX Overview. Maintaining a Web Site

Dreamweaver Basics Workshop

html General principles Karl W Broman Department of Biostatistics Johns Hopkins University Simple is better Look at others source

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:

Transcription:

HTML Headings HTML headings are used to provide section structure for the document. Data Technologies HTML and CSS <h1>the document "Title"</h1> <h2>a main section within the document</h2> <h3>a subsection of the first section</h3> <h2>another main section</h2> Background Reading Chapters 2 and 4 of Introduction to Data Technologies The Web Design Group CSS Reference http://htmlhelp.com/reference/css/ HTML Paragraphs HTML ignores all whitespace. It is necessary to indicate, via markup, where blocks of text begin (and end). An example paragraph. Here s another paragraph. HTML Unordered Lists Each item is preceded by a bullet (e.g., a list of questionnaire instructions). <ul> <li> An item </li> <li> Another item </li> <li> Yet another item </li> </ul> You might think this is another paragraph, but it s not.

HTML Ordered Lists Each item is preceded by a number (e.g., a list of questions in a questionnaire). <ol> <li> First item </li> <li> Second item </li> <li> Third item </li> </ol> Use thelist-style-type style-sheet property to control the appearance of the number. HTML Anchors within the same Document A hyperlink can be made to point to another location within the same document (e.g., skip to question i on a questionnaire). This requires use of thename attribute of the anchor element. <h1>table of Contents</h1> <!-- anchors --> <ol> <li><a href="#section1">section 1</a></li> <li></li> </ol> <!-- destination --> <h2><a name="section1">section 1</a></h2> Blah blah HTML Anchors An anchor creates a hypertext link (e.g., go to the next page of a questionnaire or go to a help page); if you follow a link, usually by clicking on it in a browser, you will be transported to a new destination. Thehref attribute of the anchor element specifies a Uniform Resource Identifier (URI) as the destination of the hyperlink. The Content of the element is what appears on the display. Here s a link to the <a href="http://www.stat.auckland.ac.nz"> Department of Statistics Home Page </a>. HTML Tables A minimal table (a simple way to arrange elements of a web page, though see also ) <table> <th>column 1</th> <th>column 2</th> <td>col 1 data</td> <td>col 2 data</td> <td>more col 1 data</td> <td>more col 2 data</td> </table>

HTML Table Attributes HTML table elements have a number of useful attributes for controlling the table layout. HTML table row, table header, and table data elements also have useful layout attributes. <table border="1" cellpadding="5"> <th>column 1</th> <th>column 2</th> <th>column 3</th> <td>col 1 data</td> <td colspan="2" align="left"> Data spanning cols 2 and 3</td> </table> Generic HTML Elements Thediv andspan elements have no predetermined meaning or appearance. <div> A div makes a "block" of output and a span is just part of a block </span>. <div> This is a second block and this is just part of the second block </span>. Miscellaneous <center> This text is centred. </center> This line stops HERE.<br> This is on a separate line. <hr> <em>this text is emphasised</em><br> <strong> This text is strongly emphasised </strong> HTML is a structural markup language; it describes the structure of a document. Use (CSS) for controlling the appearance of different structural elements. <head> H1 { color: blue P { font-style: italic </head> <body> <h1>a heading</h1> A normal paragraph of text

Styles can be applied to only a certain class of an element. <head> div.comment { font-style: italic div.comment span { font-weight: bold </head> <body> <div class="comment"> This is a block of comment-style text and this part of the comment is bold. </span> </body> are actually a separate language from HTML. For example, comments in CSS are actually of the form: /* A CSS comment */ div.comment { font-style: italic National Survey of Student Engagement 2006 The College Student Report In your experience at your institution during the current school year, about how often have you done each of the following? Very Often Often Sometimes Never Often Often Sometimes Very Never Asked questions in class or contributed to class discussions Prepared two or more drafts of a paper or assignment before turning it in Included diverse perspectives (different races, religions, genders, polticial beliefs, etc.) in class dicussions or writing assignments Worked with other students on projects during class Made a class presentation Worked on a paper or project that required integrating ideas or information from various sources Come to class without completing readings or assignments Worked with classmates outside of class to prepare class assignments Case Study: The College Student Report The National Survey of Student Engagement (NSSE) is an annual survey conducted on college and university students in the United States. The survey aims to measure the level of student participation in in programs and activities that the university provides for learning and personal development. The survey is administered both as an online form and as a pen-and-paper questionnaire. When a survey has both an online and a paper version, we would like to avoid having two separate copies to update. Can this be done? Case Study: The College Student Report <html> <style type="text/css" media="screen"> div.evenoptions { display: none; div.oddquestion { background-color: #EFF2E8; </html>

Case Study: The College Student Report <html> <style type="text/css" media="print"> div.evenoptions { width: 49%; float: right; div.oddquestion { width: 49%; float: left; border-top: 1px solid #869750; margin-bottom: 10px; </html>