GESTIONE DEL BACKGROUND. Programmazione Web 1

Similar documents
HTML: Parsing Library

"utf-8";

HTML: Parsing Library

Wireframe :: tistory wireframe tistory.

@namespace url( /* set default namespace to HTML */ /* bidi */

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

Designing UI. Mine mine-cetinkaya-rundel

The [HTML] Element p. 61 The [HEAD] Element p. 62 The [TITLE] Element p. 63 The [BODY] Element p. 66 HTML Elements p. 66 Core Attributes p.

QUICK REFERENCE GUIDE

Index. CSS directive, # (octothorpe), intrapage links, 26

Oliver Pott HTML XML. new reference. Markt+Technik Verlag

COPYRIGHTED MATERIAL. Contents. Chapter 1: Creating Structured Documents 1

Evaluation of alignment methods for HTML parallel text 1

<page> 1 Document Summary Document Information <page> 2 Document Structure Text Formatting <page> 3 Links Images <page> 4

Cascading Style Sheet

Canvas & Brush Reference. Source: stock.xchng, Maarten Uilenbroek

Certified HTML Designer VS-1027

Symbols INDEX. !important rule, rule, , 146, , rule,

HTML Cheat Sheet for Beginners

COPYRIGHTED MATERIAL. Contents. Introduction. Chapter 1: Structuring Documents for the Web 1

5-Sep-16 Copyright 2016 by GemTalk Systems LLC 1

Certified HTML5 Developer VS-1029

Chapter 2:- Introduction to XHTML. Compiled By:- Sanjay Patel Assistant Professor, SVBIT.

Styles, Style Sheets, the Box Model and Liquid Layout

HTML CS 4640 Programming Languages for Web Applications

WML2.0 TUTORIAL. The XHTML Basic defined by the W3C is a proper subset of XHTML, which is a reformulation of HTML in XML.

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

CPET 499/ITC 250 Web Systems. Topics

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

Using CSS for page layout

Web Design and Development ACS Chapter 12. Using Tables 11/23/2017 1

Deccansoft Software Services

HTML Markup for Accessibility You Never Knew About

ROLE OF WEB BROWSING LAYOUT ENGINE EVALUATION IN DEVELOPMENT

Static Webpage Development

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

Programming of web-based systems Introduction to HTML5

CHAPTER 7 USER INTERFACE MODEL

Website Development with HTML5, CSS and Bootstrap

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

Understanding this structure is pretty straightforward, but nonetheless crucial to working with HTML, CSS, and JavaScript.

Table-Based Web Pages

Web development using PHP & MySQL with HTML5, CSS, JavaScript

HTML avanzato e HTML5 (per cominciare)

/* ========================================================================== PROJECT STYLES

HTML Organizing Page Content

SilkTest 2009 R2. Rules for Object Recognition

UNIT II Dynamic HTML and web designing

HTML and CSS COURSE SYLLABUS

Creating HTML files using Notepad

Table of Contents. MySource Matrix Content Types Manual

Silk Test Object Recognition with the Classic Agent

COMP519: Web Programming Lecture 4: HTML (Part 3)

Techno Expert Solutions An institute for specialized studies!

ICT IGCSE Practical Revision Presentation Web Authoring

Name Related Elements Type Default Depr. DTD Comment

WEBSITE PROJECT 2 PURPOSE: INSTRUCTIONS: REQUIREMENTS:

Programmazione Web a.a. 2017/2018 HTML5

CSS for Page Layout Robert K. Moniot 1

Tables & Lists. Organized Data. R. Scott Granneman. Jans Carton

Guidelines for doing the short exercises

PIC 40A. Lecture 4b: New elements in HTML5. Copyright 2011 Jukka Virtanen UCLA 1 04/09/14

IN ACTION. Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis MANNING

Web Development and Design Foundations with HTML5 8th Edition

Study Guide 2 - HTML and CSS - Chap. 6,8,10,11,12 Name - Alexia Bernardo

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

Summary 4/5. (contains info about the html)

ICT IGCSE Practical Revision Presentation Web Authoring

HTML5. 10 Things to Know. Webster University. ! R. Scott Granneman

Beginning Web Programming with HTML, XHTML, and CSS. Second Edition. Jon Duckett

Structure Bars. Tag Bar

CSCU9B2: Web Tech Lecture 3

INFS 2150 Introduction to Web Development

INFS 2150 Introduction to Web Development

Index LICENSED PRODUCT NOT FOR RESALE

MSEP Partner Portal JSON Feed Standards

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

Chapter 9 Table Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Lab Chapter 5: Applying The Box Model Habitat for Humanity

Zen Garden. CSS Zen Garden

c122sep2214.notebook September 22, 2014

Review of HTML. Chapter Pearson. Fundamentals of Web Development. Randy Connolly and Ricardo Hoar

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

HTML+ CSS PRINCIPLES. Getting started with web design the right way

CS105 Course Reader Appendix A: HTML Reference

Chapter 7 Building Website with HTML and CSS

Electronic Books. Lecture 6 Ing. Miloslav Nič Ph.D. letní semestr BI-XML Miloslav Nič, 2011

Getting your work online. behance.net cargo collective krop coroflot

1.7 Uniform Resource Identifiers and Domain Names 13 URIs and URLs 13 Domain Names 13

Student, Perfect CS-081 Final Exam May 21, 2010 Student ID: 9999 Exam ID: 3122 Page 1 of 6 Instructions:

HTML Organizing Page Content

Signs of Spring App. Release Notes Version 1.0

Inline Elements Karl Kasischke WCC INP 150 Winter

Internet publishing HTML (XHTML) language. Petr Zámostný room: A-72a phone.:

MODULE 2 HTML 5 FUNDAMENTALS. HyperText. > Douglas Engelbart ( )

HTML Hyper Text Markup Language

HTML-5.com itemscopehttp://data-vocabulary.org/breadcrumb<span itemprop="title">html 5</span> itemscopehttp://data-vocabulary.

HTML. HTML is now very well standardized, but sites are still not getting it right. HTML tags adaptation

Chapter 1 Self Test. LATIHAN BAB 1. tjetjeprb{at}gmail{dot}com. webdesign/favorites.html :// / / / that houses that information. structure?

Learning Objectives. Review html Learn to write a basic webpage in html Understand what the basic building blocks of html are

Transcription:

GESTIONE DEL BACKGROUND Programmazione Web 1

Background background-color opacity Immagini nel background background-image background-repeat background-posi:on background-a;achment Programmazione Web 2

Colore del background background-color Values: Default: Applies to: Inherits: color value (name or numeric) transparent inherit transparent all elements no blockquote { border: 4px dashed; color: #508C19; background-color: #B4DBE6; A;en: alla leggibilità Programmazione Web 3

Trasparenza opacity Values: number (0 to 1) Default: 1 Applies to: all elements Inherits: no h1 {color: green; background: white; opacity:.25; h1 {color: green; background: white; opacity:.5; h1 {color: green; background: white; opacity: 1; opacity:.25 opacity:.5 opacity: 1 Programmazione Web 4

Immagini per bg background-image Values: Default: Applies to: Inherits: url (location of image) none inherit none all elements no body { background-image: url(star.gif); blockquote { background-image: url(dot.gif); padding: 2em; border: 4px dashed; dot.gif (24 x 24 pixels) Programmazione Web 5 star.gif (100 x 96 pixels)

GesBre il Bling background-repeat Values: repeat repeat-x repeat-y no-repeat inherit Default: repeat Applies to: all elements Inherits: no No-repeat Repeat-y body { background-image: url(star.gif); background-repeat: no-repeat; body { background-image: url(star.gif); background-repeat: repeat-x; body { background-image: url(star.gif); background-repeat: repeat-y; Repeat-x Programmazione Web 6

Posizione del bg b b background-position: 200px 50px; b background-position: 15% 100%; b Programmazione Web 7

GesBone dello scroll background-attachment Values: scroll fixed local (new in CSS3) inherit Default: scroll Applies to: all elements Inherits: no background-attachment: scroll; Programmazione Web 8 background-attachment: fixed;

Proprietà background background Values: Default: Applies to: Inherits: background-color background-image background-repeat backgroundattachment background-position inherit see indiviual properties all elements no body { background: white url(arlo.png) no-repeat right top fixed; body { background-color: white; background-image: url(arlo.png); background-repeat: no-repeat; background-position: right top; background-attachment: fixed; Programmazione Web 9

Esercizio BG + Esempi Esempi con ogre-bg.html Esempi con bg fisso Programmazione Web 10

Programmazione Web 11

ALTRO CSS Programmazione Web 12

CommenB Il contenuto fra /* e */ viene ignorato Posso usare i commen: in ogni punto del file Si usano i commen: per delimitare le sezioni logiche del file nascondere temporaneamente delle dichiarazioni Programmazione Web 13

diregva @import @import è la direrva css per includere altri css devo fornire la url assoluta o rela:va <head> <style> @import url("/path/stylesheet.css"); p { font-face: Verdana; </style> <title>titles are required.</title> </head> In un file html /* basic typography */ @import url("type.css"); /* form inputs */ @import url("forms.css"); In un file css /* navigation */ @import url("list-nav.css"); Programmazione Web 14

reset.css v2.0 20110126 License: none (public domain)*/ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; body { body { line-height: 1; ol, ul { list-style: none; blockquote, q { quotes: none; blockquote:before, blockquote:after, q:before, q:after { content: ; content: none; table { border-collapse: collapse; border-spacing: 0; Programmazione Web 15

Programmazione Web 16

PunB specifici di una pagina Programmazione Web 17

PunB specifici di una pagina IdenBficazione dell'ancora Ogni id può essere usato come ancora <h1 id="starth">h</h1> Creazione del link Si usa come # ed il nome dell'iden:ficatore <p>... F G <a href="#starth">h</a> I J...</p> Programmazione Web 18

PunB specifici in altre pagine Si aggiunge alla url, # nome inden:ficatore Esempio <a href="glossary.html#starth">see the Glossary, le;er H</a> <a href="h;p://www.example.com/glossary.html#starth">see the Glossary, le;er H</a> Se l'id non è presente funziona comunque come un link normale Programmazione Web 19

AMributo target Specifica in quale finestra dove aprire il link target="_blank" dice di aprire il link in una nuova finestra Esempio <a href="h;p://www.oreilly.com" target="_blank">o'reilly</a> Posso dare un nome ad una finestra ed usarla più volte <a href="h;p://www.oreilly.com" target="display">o'reilly</a> Spesso non ha un effe;o piacevole. sembra che i link non funzionano Con javascript riesco a controllare meglio la nuova finestra Ges:sco i pop up Programmazione Web 20

Altri link Link a mail <a href="mailto:pierpaolo.lore:@uniroma2.it">pierpaolo Lore:</a> Il Browser lancia normalmente il vostro programma di posta con un mail in composizione per pierpaolo.lore:@uniroma2.it deve essere configurato per farlo Posso anche specificare altri campi della mail subject, body, etc. Link a numeri di telefono <a href="tel:+390672597440">pierpaolo Lore:</a> Su cellulare parte la chiamata Se desktop parte skype Programmazione Web 21