HTML 2
HTML 2
Programming
Revision 2
Forms:
1|Page
Advantages of css :
CSS Selectors:
2|Page
Select all elements
Child Selector that are children of
a specified element
CSS Background:
CSS Formats
3|Page
Text Transformation Text Indentation
Border-Style Border-Style
Styling Links:
4|Page
Calculate the total width of the element:
Total element width = width + left padding + right padding + left border + right border + left
margin + right margin
Em = pixels/16
CSS Outline:
5|Page
affect the layout page will be displayed as if the
element is not there
CSS Positioning:
6|Page
CSS3:
CSS3 Borders
CSS3 2D Transforms
With CSS3 transform, we can move, scale, turn, spin, and stretch elements.
translate()
rotate()
7|Page
scale()
skew()
matrix()
CSS3 3D Transforms
rotateX()
rotateY()
CSS3 Animations
8|Page
Bind the "myfirst" animation to the <div> element. Animation duration: 5 seconds.
9|Page
3. Column Rules:
Sets the width, style, and color of the rule between columns.
Specify the width, style and color of the rule between columns:
What is jQuery?
JavaScript Library.
Easy to learn.
"write less, do more".
Takes a lot of tasks that require many lines of JavaScript code and wraps them into methods that to
call.
DOM
Model for representing and interacting with XML, XHTML or HML document.
The jQuery contains the following features:
HTML/DOM manipulation
CSS manipulation
HTML event methods
Effects and animations
AJAX
Utilities
Insert jQuery
jQuery CDN
10 | P a g e
$(selector).action();
The Document Ready Event
Is to prevent any jQuery code from running before the document is finished loading.
jQuery Selectors
jQuery Events:
11 | P a g e
Allows us to execute a
ready() function when the
document is fully loaded
Executed when the user
click() clicks on the HTML element.
hover()
12 | P a g e