HTML Code
HTML
<!DOCTYPE html> < html > < head > < style > table, th, td { border: 1px solid grey; border-collapse: collapse; padding: 5px; } table tr:nth-child(odd) { background-color: #f1f1f1; } table tr:nth-child(even) { background-color: #ffffff; } </ style > </ head > < body > < table > < tr > < td >Avinash</ td > < td >USA</ td > </ tr > < tr > < td >Aisha</ td > < td >UK</ td > </ tr > < tr > < td >Emma</ td > < td >Australia</ td > </ tr > < tr > < td >Shreyas</ td > < td >India</ td > </ tr > < tr > < td >Rachel</ td > < td >USA</ td > </ tr > < tr > < td >Shravan</ td > < td >India</ td > </ tr > </ table > </ body > </ html > |
Output:
AngularJS SQL
In any web application, we need to save, update, insert and fetch data to and from a database. AngularJS is a JavaScript MVC (Model-View-Controller) framework developed by Google. It helps developers to build well-structured, easily testable, and maintainable front-end applications.
Important Features in AngularJS Library are given below:
- Concept
- Template
- Directives
- Model
- Scope
- Expressions
- Compiler
- Filter
- Data Binding
- Controller
- Module
- Service