You are on page 1of 2

Web Programming Exam Cheat Sheet

XHTML1 <!DOCTYPE> <html> <head> <body> <!-- --> <param /> <base /> <meta /> <title> <link /> <style> <script> <h[1-6]> <div> <span> <p> <br /> <hr /> <a href=""> <a href="mailto:"> <a name="name"> <a href="#name"> <ol> <ul> <li> <dl> <dt> <dd> <table> <caption> <thead> <tbody> <tfoot> <colgroup> <col /> <tr> <th> <td> <img /> <strong> <abbr> <acronym> <address> <pre> <code> <cite> <sub> <sup> <bdo> <form> <fieldset> <legend> <label> <input /> <select> <option> <textarea> <button> <object> <param /> <area /> <base /> <br /> <col /> <hr /> Core Attributes:class id style title Events:onLoad onUnload onBlur onChange onFocus onReset onSelect onSubmit onKeydown onKeypress onKeyup onClick onDblclick onMousedown onMousemove onMouseout onMouseover onMouseup xml1 <!DOCTYPE....> <!ELEMENT....> <!ATTLIST.......> display position top right div, span div > span div + span .class div.class #itemid div#itemid a[attr] a[attr='x'] a[class~='x'] a[lang|='en'] --Pseudo Selectors,-Clas ses-:first-child :first-line :first-letter :hover :active :focus :link :visited :lang(var) :before :after --Fonts--font + x font-family + font-style + font-variant + font-weight + font-stretch + font-size + font-size-adjust + --Tables-caption-side + table-layout border-collapse + border-spacing + empty-cells + line-height + --Boxes-margin x margin-top margin-right CSS1 --Selectors-* div div * div span

by Giver (sanoj) via cheatography.com/530/cs/229/


Javascript1 --Color/Background-color + background x background-color background-atta chment background-repeat background-image background-position --Text--Text-indent + text-align + text-decoration text-shadow letter-spacing + word-spacing + text-transform + white-space + --Built In functions-eval parseInt parseFloat isNaN isFinite decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Functions-window alert blur clearTimeout close focus open print setTimeout ---Events--onAbort onBlur onChange onClick onDblClick onDragDrop onError onFocus onKeyDown onKeyPress onKeyUp onLoad onMouseDown onMouseMove onMouseOut onMouseOver onMouseUp onMove onReset onResize onSelect onSubmit onUnload ---Array-concat join push pop reverse shift slice sort splice unshift --Date-getDate getDay getFullYear getHours getMinutes getMonth getSeconds getTime getYear setDate setHours setMinutes setMonth setSeconds --Basics-Function If...Else Switch For Loop While Loop --String-charAt charCodeAt fromCharCode concat indexOf lastIndexOf localeCompare match replace search slice split substring substr toLowerCase toUpperCase toLocaleLowerCase toLocaleUpperCase

margin-bottom margin-left padding x padding-top padding-right padding-bottom padding-left border x border-top x border-bottom x border-right x border-left x border-color x border-top-color border-right-color border-bottom-color border-left-color border-style x border-top-style border-right-style border-bottom-style border-left-style border-width x border-top-width border-right-width border-bottom-width border-left-width

<!ENTITY........> <![CDATA[..]]> <....xmlns:....>

right bottom left float clear z-index direction + unicode-bidi overflow clip visibility

border-left-width

setYear

Do...While Loop Break ,Continue For...In

Cheatographer Giver (sanoj) cheatography.com/sanoj/

Cheat Sheet This cheat sheet was published on 31st January, 2012 and was last updated on 31st January, 2012.

Sponsor FeedbackFair, increase your conversion rate today! Try it free! http://www.FeedbackFair.com

You might also like