复习笔记
文章平均质量分 80
_一克拉的梦想_
Dive into HTML5 & CSS3
展开
-
JS Data Type
JavaScript Data TypesJavaScript has dynamic types, the same variable can be used as different types. JS有动态变量类型。var x; // Now x is undefinedvar x = 5; // Now x is a Numbe原创 2014-04-08 22:32:20 · 648 阅读 · 0 评论 -
CSS Border & Padding & Margin
BorderBorder styleThe border-style property specifies what kind of border to display.原创 2014-04-15 16:19:27 · 735 阅读 · 0 评论 -
CSS Display
Display and VisibilityHiding an element两种方法实现元素的隐藏:h1.hidden {display:none;}h2.hidden {visibility:hidden;}区别:display:none it will not take up any space. The element will be hidden, and the原创 2015-05-18 17:18:05 · 361 阅读 · 0 评论 -
CSS Float
http://www.w3schools.com/cssref/pr_class_clear.aspclear:both;原创 2014-04-26 20:05:48 · 519 阅读 · 0 评论 -
CSS List
ListWith CSS, lists can be styled further, and images can be used as the list item marker.List item markerThe type of list item marker is specified with the list-style-type property原创 2015-04-28 11:21:24 · 394 阅读 · 0 评论 -
CSS Attribute Selectors
Attribute Selector可以对那些拥有特殊属性的HTML元素进行个性化设置。Note: IE7 and IE8 support attribute selectors only if a !DOCTYPE is specified.[attribute] SelectorThe[attribute]selector 选择凡是拥有这个 attrib原创 2014-04-28 12:10:16 · 739 阅读 · 0 评论 -
JS basic
A scripting language is a lightweight programming language.原创 2014-04-08 22:20:13 · 737 阅读 · 0 评论 -
HTML Blocks
Block ElementsBlock level elements normally start (and end) with a new line when displayed in a browser.块级元素通常(以新的一行开始/结束)换行在浏览器中显示。Examples: , , , Element该元素是块级元素,可以为其他HTML块级原创 2015-02-28 16:54:48 · 420 阅读 · 0 评论 -
CSS Position
DisplayHiding an element原创 2014-04-26 17:11:16 · 685 阅读 · 0 评论 -
CSS Background
该性质是用于定义一个元素背景的效果。Background-color顾名思义,我们可以对每一个HTML元素设定它的背景色,常用取值:color,transparentThe background of an element is the total size of the element,includingpadding and border (but not the原创 2014-04-25 22:59:02 · 535 阅读 · 0 评论 -
CSS3 Borders & Backgrounds & Colors
CSS Colors 可以有三种基本表示方法:Predefined Color name 预定义颜色名称表示法 : 17 standard colors are: aqua 水绿色, black, blue, fuchsia 紫红色, gray, green, lime 绿黄色, maroon 褐红色/栗色, navy 藏青色, olive 黄褐色/橄榄色, orange, pur原创 2014-04-03 10:29:49 · 537 阅读 · 0 评论 -
HTML Input Types
Input Types总结所有 元素的类型text定义了一个 one-line 单行输入区域,注意:输入区域的默认宽度是 20 characterspassword在密码输入区域里的字符是隐藏的(以星号或者黑圆圈显示)submit定义了一个用于提交表格的按钮。如果缺省提交按钮的 value 属性的值,则按钮将会显示一个默认的文本(Submit)。radio原创 2015-04-20 16:57:52 · 487 阅读 · 0 评论 -
HTML Forms & Form element
JavaScript uses the name of the form to specify which form to submit.原创 2015-04-20 15:12:58 · 658 阅读 · 0 评论 -
HTML Head
HTML ElementA container for all the head elements. 容纳所有头部元素的容器。可以嵌套在元素里的HTML元素有:The element:defines a title in the browser toolbar定义浏览器工具条里显示的标题provides a title for the page when it原创 2015-02-28 16:21:17 · 366 阅读 · 0 评论 -
Git - Practical commands
Create remote repopwd:/Users/zhanglx/workspace/gittest/git init --bareClone repo fromremote repogit clone/Users/zhanglx/workspace/gittest/Init a local git repoand add a remoteThis is equal原创 2014-04-04 11:59:47 · 564 阅读 · 0 评论 -
CSS Basic
What is CSS?CSS stands for Cascading Style Sheets (层叠样式表)define how to display HTML elements (定义如何显示HTML元素). HTML was never intended to contain tags for formatting a document, but to define the原创 2014-04-02 20:13:03 · 566 阅读 · 0 评论 -
CSS Box Model & Outlines & Dimension
OutlineAn outline is a line that is drawn around elements (outside the borders) to make the element "stand out".CSS轮廓The outline is not a part of an element's dimensions; the element's t原创 2014-04-26 16:18:16 · 622 阅读 · 0 评论 -
CSS Pseudo-classes & Pseudo-elements
Pseudo-classesused to add special effects to some selectors. 用于给一些选择器原创 2014-04-28 00:03:50 · 2226 阅读 · 0 评论 -
CSS Combinator
Combinator把基础选择器组合起来使用。There are four different combinators in CSS3:descendant selector 后代选择器child selector 自选择器adjacent sibling selector 相邻兄弟选择器general sibling selector 一般同级选择器Desce原创 2015-03-02 16:20:53 · 710 阅读 · 0 评论 -
JS Array Object
Create an array, and assign values to it: JS数组的创建和翻译 2014-04-08 17:15:06 · 705 阅读 · 0 评论 -
JS Functions
简单的调用JS函数方法:function myFunction(){alert("Hello World!");}Try it翻译 2014-04-08 23:01:24 · 505 阅读 · 0 评论 -
HTML Lists
HTML ListsUnordered HTML List 无序列表Starts with the tag. Each list item starts with the tag. Coffee Milklist-style-type : disc (实心小圆),circle (空心小圆),square (实心正方形), none原创 2015-02-28 16:42:35 · 579 阅读 · 0 评论 -
HTML Hyperlink
HTML Hyperlinks (Links)The HTML tag defines a hyperlink.原创 2014-04-12 23:33:36 · 1513 阅读 · 0 评论 -
HTML Attributes
HTML Attributes (case-insensitive 大小写不敏感)Attributes provide additional information about an element, always specified in the start tagAttributes come in name/value pairs like: name="value"la原创 2015-02-27 17:09:15 · 1147 阅读 · 0 评论 -
HTML Images
HTML Images The Tag and the Src Attribute原创 2014-04-13 15:29:26 · 1060 阅读 · 0 评论 -
HTML Tables
HTML Tables原创 2014-04-13 16:56:10 · 551 阅读 · 0 评论 -
HTML Heading & Paragraph & Formatting
Headings原创 2014-04-12 20:10:41 · 1136 阅读 · 0 评论 -
HTML Entities & Charset & URL Encode
Character entities are used to display reserved characters in HTML.原创 2015-03-12 16:03:32 · 615 阅读 · 0 评论 -
HTML Tag & Element
The text between and is the visible page content原创 2014-04-12 18:19:42 · 1316 阅读 · 0 评论 -
CSS Text
TextThe default color for a page is defined in the body selector.页面文字的默认yanNote: For W3C compliant CSS: If you define the color property, you must also define the background-color property.原创 2014-04-15 10:11:12 · 821 阅读 · 0 评论 -
CSS Links & Tables
Links can be styled differently depending on what state they are in.The four links states are:a:link - a normal, unvisited linka:visited - a link the user has visiteda:hover - a link whe原创 2014-04-26 00:50:47 · 491 阅读 · 0 评论 -
CSS Font
Font familiesthere are two types of font family names:generic family 通用字体系统 - a group of font families with a similar look (like "Serif" or "Monospace") font family 特定字体系统- a specific font f原创 2014-04-25 12:25:48 · 584 阅读 · 0 评论 -
HTML Quotation & Citation Elements, Comments, <noscript>
HTML Quotation and Citation Elements Defineslongquotation, usually indent (缩进引用的文本) elements Defines an inline (short) quotation 短的引用, usuallyinsert quotation marks (使用引号把引用的文字括起来) around t原创 2015-02-28 11:25:11 · 644 阅读 · 0 评论