加入强调语气: <em>要强调的文本</em> 使用斜体强调 <dtrong>要强调的文本</strong> 使用加粗强调 为文字设置单独样式: <span>bla...bla</span> 但在<style></style>标签里要声明用什么 <style> span{ color : blue; ...
分类:
Web程序 时间:
2016-07-10 12:21:17
阅读次数:
139
Given an input string, reverse the string word by word. For example,Given s = "the sky is blue",return "blue is sky the". Have you met this question i ...
分类:
其他好文 时间:
2016-07-06 13:20:17
阅读次数:
127
1 ,函数内部声明变量是函数自己的局部变量,函数外部声明变量是全局变量, 如果函数内没有声明局部变量,将返回全局变量,如果函数内部声明有局部变量, 将返回局部变量; 2,如下图,函数内声明有color= red,返回red; 2,下图没有声明局部变量,返回blue; 3,传递参数:ECMA中所有参数 ...
分类:
其他好文 时间:
2016-07-05 14:15:37
阅读次数:
148
复选框 Checkbox 是 Web 应用常用控件,随处可见,原生的复选框控件一般就像下面这样: 选中状态 未选状态 这取决于操作系统和浏览器,有些时候,这种样子并不能满足设计要求,这时需要更为精致的复选框样式。以往只有少数浏览器才支持对这类控件应用样式,比如拿到这样一张设计图: blue.png ...
分类:
其他好文 时间:
2016-07-04 18:27:03
阅读次数:
141
来自simple.tcl set ns [new Simulator]$ns color 0 blue$ns color 1 red$ns color 2 whiteset n0 [$ns node]set n1 [$ns node]set n2 [$ns node]set n3 [$ns node ...
分类:
其他好文 时间:
2016-07-04 13:39:45
阅读次数:
210
1.不常见字体提前加载 #text{ font-family: "微软雅黑", "黑体" sans-serif; /*表示选无衬线字体*/ } 2.设置图片背景 背景图和背景色优先显示背景图 #text{ background-color:blue; /*控制图片的位置*/ background-i ...
分类:
Web程序 时间:
2016-06-30 22:59:25
阅读次数:
259
1.关键字 全部小写,goto和const是保留的关键字。 2.标识符 由字母,数字,下划线(_),美元符号($)组成 注意:开头不能是数字,区分大小写 不能是关键字,不能是保留字 3.常见类型的标识符命名规则 A.包,包就是文件夹,用来区分相同的类名 全部小写,单级:blue,多级:com.bai ...
分类:
编程语言 时间:
2016-06-29 01:01:00
阅读次数:
165
一个Div包含了多个子Div,并且子Div使用了浮动后,父Div确不能被撑开,如下图: 部分代码如下: 1 <style>2 #div1{border:1px solid red;float:left;}3 #div2,#div3{float:right;border:1px solid blue; ...
分类:
其他好文 时间:
2016-06-27 19:56:11
阅读次数:
152
#/bin/bash
#score.sh
#colorfunction
colour()
{
case$1in
black_white)
echo-e"\033[40;37m"
;;
black_green)
echo-e"\033[40;32m"
;;
black_cyan)
echo-e"\033[40;36m"
;;
red_yellow)
echo-e"\033[41;33m"
;;
yellow_blue)
echo-e"\033[43;34m"
;;
*)echo"invalidcolour"
..
分类:
其他好文 时间:
2016-06-27 17:51:40
阅读次数:
146
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in the order red, ...
分类:
其他好文 时间:
2016-06-26 21:05:01
阅读次数:
161