Class– A class is a style (like a group of CSS attributes) that can be applied to one or more HTML elements. It is applied to an HTML element via the class attribute and the class name. ID– A ID selector is a name assigned to a speciﬁc style. It can be associated with one […]
The diﬀerence between ID and class selector, It is same with jQuery. ID selector uses ID e.g. #element-id to select element, while class selector uses CSS class to select elements. When you just need to select only one element, use ID selector, while if you want to select a group of element, having same CSS […]
Easy to use and learn. Easily expandable. Cross-browser support (IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+) Easy to use for DOM manipulation and traversal. Large pool of built in methods. AJAX Capabilities. Methods for changing or applying CSS, creating animations. Event detection and handling. Tons of plug-ins for all kind of needs.
The $() function is an alias of jQuery() function, at ﬁrst it looks weird and makes jQuery code cryptic, but once you get used to it, you will love it’s brevity. $() function is used to wrap any object into jQuery object, which then allows you to call various method deﬁned jQuery object. You can […]
A CSS (cascading style sheet) file allows you to separate your web sites HTML content from it’s style. As always you use your HTML file to arrange the content, but all of the presentation (fonts, colors, background, borders, text formatting, link effects & so on…) are accomplished within a CSS. CSS stands for Cascading Style […]
HTML list <ul> and <o> tag are used to create lists. Example Output is
HTML has many versions since it inceptions during 1990’s. HTML version are HTML, HTML+, HTML 2.0, HTML 3.2, HTML 4.0 and the latest version HTML 5. HTML HTML+ HTML 2.0 HTML 3.2 HTML 4.0 HTML 5
DOCTYPE stands for Document Type Declarations. DOCTYPE is used to specify the web browsers that which types of documents (such as SGML or XML Documents) it will receive. is declared above the tag.
HTML stands for Hypertext Markup Language. It is s markup language for World Wide Web. HTML was developed by Tim Berners Lee during 1990’s. It consists of tags which are used to dene content and web page formatting. HTML stands for Hyper Text Markup Language HTML is the standard markup language for Web pages HTML […]