0% found this document useful (0 votes)
14 views

Difference HTML CSS JavaScript Corrected

Html

Uploaded by

bhonkarapurva
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)
14 views

Difference HTML CSS JavaScript Corrected

Html

Uploaded by

bhonkarapurva
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
You are on page 1/ 2

Difference Between HTML, CSS, and JavaScript

HTML (HyperText Markup Language)

- Purpose: The structure and content of a webpage.

- Functionality:

* Defines the layout and elements (headings, paragraphs, images, etc.).

* Forms the skeleton of the webpage.

- Example:

<h1>Welcome to the Web</h1>

<p>This is a paragraph.</p>

<img src="image.jpg" alt="Example image">

CSS (Cascading Style Sheets)

- Purpose: Styling and visual appearance of a webpage.

- Functionality:

* Controls colors, fonts, layouts, and spacing.

* Makes webpages visually appealing and responsive.

- Example:

h1 {

color: blue;

font-size: 24px;

p{

text-align: center;

line-height: 1.5;

JavaScript
- Purpose: Adds interactivity and dynamic behavior to a webpage.

- Functionality:

* Handles user inputs, animations, and dynamic updates.

* Enables event handling and logic implementation.

- Example:

document.getElementById("demo").innerHTML = "Hello, JavaScript!";

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy