原创 Shortcut for some CSS properties: padding, background

1. padding: padding-top: 0px; padding-right:20px; padding-bottom: 30px; padding-left: 10px; now we type as  padding:

原创 media in the link element -CSS and select by #id

<span style="font-size:18px;color:#000066;"><strong><em>ADD media queries into HTML</em></strong></span><span style="fo

原创 CSS and its selectors- Head first into HTML

We can use CSS to handle styles for multiple pages . Use comma to select multiple elements, like <strong>h1, h2</

原创 Interactivity--D3

1. event listener: on ("event_name", behavior); commonly, you will want to bind event listeners to more than one eleme

原创 pesudo-class of element

a: link { color: green;        applied to links when they are in an unvisited state { a: visited { color: red;       ap

原创 Box model in CSS-- Head first into CSS

1. line height: the space between lines you can use pixels or em, percentage that is relative to font-size to specify

原创 form element in HTML--Part1

how the forms work in the browse 1. The browse loads the page the browser load the HTML page like it always does, when

原创 Visual display of quantitative information

1. data measure: the graphical element that actually locates or plots the data is the data measures. like, the bars of

原创 Web page construct -- Head first into HTML

1.  Create a rough sketch of the journal that is the basis for your page design 2. Use the basic building blocks of HTM

原创 Font in CSS {font size, font color, font weight, text decoration, font family

font-family body {      font-family: Verdana, Geneva, Arial, sans-serif;    /* for font-family name, if there are mor

原创 Transition: D3 Introduction to interactive data visualization for the web

 Dynamic Data 1. Ordinal Scales var xScale = d3.scale.ordinal()                     // used for ordinal data, typica

原创 DOM--Head first into HTML

how to use <html> in the html text: <: &lt;  >:&gt; not write the <html> element rocks. But  The &lt;html&gt; eleme

原创 Image -- Head first into HTML

How image works behind scene 1. Browsers treat <img> elements a little differently than other HTML elements; after rea

原创 The language of the web --Head First into HTML and CSS Chapter 1

1. Web servers have a full-time job on the Internet, tirelessly waiting for requests from web browsers. What kinds of r

原创 Domain name, HTTP, URL-- Head first into HTML

the protocol part (usually HTTP) tells the browser the method it should use to retrieve the resource the website name (