<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content="Description for search engines"> <title>Page Title</title> <link rel="shortcut icon" href="/favicon.ico"> <link rel="stylesheet" href="/main.css"> </head> <body> <div></div> container <a href="http://url/"></a> link <p></p> paragraph <h1></h1><h2></h2><h3></h3> headings <ul><li></li><li></li></ul> unordered list <ol><li></li><li></li></ol> ordered list <strong></strong> strong/bold <em></em> emphasis/italic <small></small> smaller <img src="/example-image.png"> image <hr> horizontal rule <script src="/main.js"></script> </body> </html>
background: background-attachment: background-clip: background-color: background-image: background-origin: background-position: background-repeat: background-size: border: border-bottom: border-left: border-radius: border-right: border-top: bottom: clear: color: cursor: display: float: font: font-family: font-size: font-style: font-weight: height: left: letter-spacing: line-height: list-style: margin: margin-bottom: margin-left: margin-right: margin-top: max-height: max-width: min-height: min-width: opacity: overflow: overflow-x: overflow-y: padding: padding-bottom: padding-left: padding-right: padding-top: position: right: text-align: text-decoration: text-transform: top: vertical-align: visibility: width: z-index:
Select element by id: $('#some-id') Select elements by class: $('.some-class') Actions you can do with elements: .show() .hide() .toggle() .focus() .width() .height() Get or set the text within an element: .text() .text('whatever') Get or set a css value of an element: .css('margin') .css('margin', '5%')
$('#some-id')
$('.some-class')
.show() .hide() .toggle() .focus() .width() .height()
.text() .text('whatever')
.css('margin') .css('margin', '5%')
[ Complete reference here ]
= Heading 1 == Heading 2 === Heading 3 ==== Heading 4 **bold** //italic// * Bullet list * Second item ** Sub item # Numbered list # Second item ## Sub item [[link]] {{image}} <<video>> @@file@@ |= table |= hdr |= | table | row | | table | row | > blockquote {{{ unformatted text }}} --- horizontal rule