0% found this document useful (0 votes)
68 views3 pages

Practical Revision Notes: HTML, CSS, Java

The document provides practical revision notes on HTML, CSS, and Java. It covers the basic structure and important tags of HTML, ways to add CSS and common properties, as well as core Java basics including data types, operators, conditionals, loops, and OOP concepts. It concludes with encouragement for the practical exam.

Uploaded by

ravifofariya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
68 views3 pages

Practical Revision Notes: HTML, CSS, Java

The document provides practical revision notes on HTML, CSS, and Java. It covers the basic structure and important tags of HTML, ways to add CSS and common properties, as well as core Java basics including data types, operators, conditionals, loops, and OOP concepts. It concludes with encouragement for the practical exam.

Uploaded by

ravifofariya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

FULL PRACTICAL REVISION NOTES – HTML, CSS & JAVA

-------------------------------------------------------

SECTION 1: HTML (HyperText Markup Language)

Basic Structure:

<html>

<head>

<title>Page Title</title>

</head>

<body>

Content here

</body>

</html>

Important Tags:

• Headings: <h1> to <h6>

• Paragraph: <p>

• Line break: <br>

• Bold/Italic/Underline: <b> <i> <u>

• Image: <img src="[Link]" width="200">

• Link: <a href="[Link]

• Lists: <ul> <ol> <li>

• Tables: <table> <tr> <td> <th>

• Forms: <form> <input> <select> <textarea>

• Div/Span: <div> <span>

HTML5 Tags:

<header> <footer> <section> <article> <nav> <video> <audio>

-------------------------------------------------------

SECTION 2: CSS (Cascading Style Sheets)

Ways to Add CSS:


1. Inline → <tag style="color:red">

2. Internal → <style>

3. External → [Link]

Selectors:

• Element → p{}

• Class → .box{}

• ID → #main{}

Common Properties:

• color, background-color

• font-size, font-family

• margin, padding

• border

• width, height

• display

• position

• flexbox: display:flex

Box Model:

Content → Padding → Border → Margin

-------------------------------------------------------

SECTION 3: JAVA (Core Java Basics)

Basic Structure:

class Main {

public static void main(String args[]) {

[Link]("Hello Java");

Data Types:

int, float, double, char, boolean, String


Operators:

+ - * /, == != < >, && ||

Conditionals:

if, else if, else, switch

Loops:

for, while, do-while

Arrays:

int a[] = {1,2,3};

OOP Concepts:

Class, Object, Constructor, Inheritance, Polymorphism, Abstraction, Encapsulation

String Functions:

length(), charAt(), substring()

Exception Handling:

try, catch, finally

File Handling:

FileReader, FileWriter

-------------------------------------------------------

Best of luck for your practical exam!

You might also like