HTML
HTML stands for Hyper Text Markup Language
HTML is the standard markup language for creating Web pages
HTML describes the structure of a Web page
HTML consists of a series of elements
HTML elements tell the browser how to display the content
HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.
SYNTAX
<!DOCTYPE html>
My First Heading
My first paragraph.
CSS:(Cascading Style Sheets) is a language designed to simplify the process of making web pages presentable.
It allows you to apply styles to HTML documents by prescribing colors, fonts, spacing, and positioning.
CSS separates content from styling and enables reuse across pages.
HTML uses tags, and CSS uses rule sets.
CSS styles are applied to the HTML element using selectors.
SYNTAX
body {
background-color: lightblue;
}
h1 {
color: white;
text-align: center;
}
p {
font-family: verdana;
font-size: 20px;
}
Top comments (0)