A few examples of using html in posts and pages. A work in progress.
Table pasted from Apple Notes:
Cell 1:1 | Cell 1:2 |
Cell 2:1 | Cell 2:2 |
Or the code:
1 | < table cellspacing = "0" cellpadding = "0" > |
2 | < tbody > |
3 | < tr > |
4 | < td valign = "top" > |
5 | Cell 1:1 |
6 | </ td > |
7 | < td valign = "top" > |
8 | Cell 1:2 |
9 | </ td > |
10 | </ tr > |
11 | < tr > |
12 | < td valign = "top" > |
13 | Cell 2:1 |
14 | </ td > |
15 | < td valign = "top" > |
16 | Cell 2:2 |
17 | </ td > |
18 | </ tr > |
19 | </ tbody > |
20 | </ table > |
Div entered manually. This div has inline styles
1 | < div style = "background: #ff0; color: #00f; width: 300px; height: 300px;" >Div entered manually. This div has inline styles</ div > |
Div entered manually. This div has a style added to the css, using the jetpack css module.
1 | < div class = "yellowbox" >Div entered manually. This div has a style added to the css, using the jetpack css module.</ div > |
The CSS
1 | .yellowbox{ margin : 10px ; |
2 | font-family :Georgia; |
3 | font-size : 26px ; |
4 | border-radius: 15px ; |
5 | padding : 15px ; |
6 | background : #ff0 ; |
7 | color : #00f ; |
8 | width : 300px ; |
9 | height : 300px ; |
10 | box-shadow: 10px 10px 5px 0px rgba( 0 , 0 , 0 , 0.75 ); |
11 | } |