[we will talk about that today]
[we will also talk about that today]
[we will NOT talk about that today]
|
<html_element>html element content</html_element> |
||||
|
<html_element attr="element attribiute example" /> |
||||
|
| 11 | 12 | |
| 21 | 22 | 23 |
| 31 | 32 | |
|
||||
|
|
||||
|
Armed Egyptian police have been ordered to protect churches where Copts are expected to gather in large numbers. There have been calls for Muslims to hold vigils outside Coptic churches in a gesture of solidarity. But some radical Islamist websites have urged more attacks, publishing church addresses in Egypt and Europe. The bombing of the church in Alexandria on New Year's Day was the worst act of sectarian violence in Egypt in a decade.
Copts celebrate Christmas on 7 January, according to the Julian
calendar. Some European governments have also announced security
measures at churches.
The BBC's Jon
Leyne in Cairo says suspicion and fear between Christians and Muslims
has been growing in Egypt for some time, made worse by tough economic
conditions and a discredited political system. It was during Coptic
Christmas Eve celebrations in southern Egypt in 2009 that six Christians
and a Muslim security guard were killed in a drive-by shooting.
|
||||
|
Yemen protests: Thousands call on president to leave
Thousands of Yemenis are demonstrating in the capital Sanaa, calling on Ali Abdullah Saleh, president for more than 30 years, to step down.
Author: http://bbc.co.uk
Egypt braces for further day of protests
Authorities in Egypt are bracing for the possibility of further protests, following two days of unrest that have left at least four people dead.
Author: http://bbc.co.uk
|
||||
|
|
Yemen protests: Thousands call on president to leave
Thousands of Yemenis are demonstrating in the capital Sanaa, calling on Ali Abdullah Saleh, president for more than 30 years, to step down. BBC
|
|
Egypt braces for further day of protests |
|
|||
|
Uganda gay rights activist David Kato killed
A Ugandan gay rights campaigner who last year sued a local newspaper which named him as being homosexual has been beaten to death, activists say. Police have confirmed the death of David Kato but say they are investigating the circumstances. |
||
|
||||
|
|
||||
|
|
||||
|
| Pattern | Meaning |
| * | Matches any element. |
| E | Matches any E element (i.e., an element of type E). |
| E F | Matches any F element that is a descendant of an E element. |
| E > F | Matches any F element that is a child of an element E. |
|
E:link
E:visited |
Matches element E if E is the source anchor of a hyperlink of which the target is not yet visited (:link) or already visited (:visited). |
|
E:active
E:hover E:focus |
Matches E during certain user actions. |
| E + F | Matches any F element immediately preceded by a sibling element E. |
| E[foo] | Matches any E element with the "foo" attribute set (whatever the value). |
| E[foo="warning"] | Matches any E element whose "foo" attribute value is exactly equal to "warning". |
| E[foo~="warning"] | Matches any E element whose "foo" attribute value is a list of space-separated values, one of which is exactly equal to "warning". |
| E[lang|="en"] | Matches any E element whose "lang" attribute has a hyphen-separated list of values beginning (from the left) with "en". |
| E.warning | Language specific. (In HTML, the same as E[class="warning"].) |
| E#myid | Matches any E element with ID equal to "myid". (In HTML, the same as E[id="myid"]) |
|
| CSS 2.1 property | Meaning | Example |
| font-family | The font-family property specifies the font for an element. The font-family property can hold several font names as a "fallback" system. If the browser does not support the first font, it tries the next font. | font-family:Verdana |
| font-size | Defines font size in px or pt. | font-size:15px |
| font-weight | The font-weight property sets how thick or thin characters in text should be displayed. |
font-weight:bold
font-weight:100 |
| text-decoration | The text-decoration property specifies the decoration added to text. |
text-decoration:underline
text-decoration:overline |
| text-indent | The text-indent property specifies the indentation of the first line in a text-block. | text-indent:10px; |
| color | The color property specifies the color of text. Color is given in hex or in rgb format. |
color:#FF0000
color: rgb(255, 255, 255) |
|
||||
|
|
||||
|
|
|
||||
|
| Property | Meaning | Values | Example |
| display | The display property specifies the type of box an element should generate. Using this property developer is able to change default HTML element display method. |
none
block inline |
display:block |
| Property | Meaning | Values | Example |
| float | This property specifies whether a box should float to the left, right, or not at all. It may be set for any element, but only applies to elements that generate boxes that are not absolutely positioned. |
none
left right |
float:left |
| clear | This property indicates which sides of an element's box(es) may not be adjacent to an earlier floating box. |
none
left right both |
clear:both |
| width | The width property sets the width of an element. | value in px | width:100px |
| height | The height property sets the height of an element. | value in px | height:100px |
|
||||
|
| Property | Meaning |
| position: absolute | Generates an absolutely positioned element, positioned relative to the first parent element that has a position other than static. If element positioned in this way is not in a container it means that it will be positioned to document body, which by default has position set to absolute. The element's position is specified with the "left", "top", "right", and "bottom" properties. Eg. top:20px; left:50px; |
| position: relative | Generates a relatively positioned element, positioned relative to its normal position, so left:20px adds 20 pixels to the element's LEFT position. |
| position: static | Default. No position, the element occurs in the normal flow (ignores any top, bottom, left, right) |
| top: valuepx | For absolutely positioned elements, the top property sets the top edge of an element to a unit above/below the top edge of its containing element. For relatively positioned elements, the top property sets the top edge of an element to a unit above/below its normal position. |
| left: valuepx | For absolutely positioned elements, the left property sets the left edge of an element to a unit to the left/right of the left edge of its containing element. For relatively positioned elements, the left property sets the left edge of an element to a unit to the left/right to its normal position. |
|
||||
|