Posts

Showing posts from June, 2025

CSS(CASCADING STYLE SHEET)

  CSS CSS is the language we use to style a Web page. What is CSS? CSS stands for Cascading Style Sheets CSS describes how HTML elements are to be displayed on screen, paper, or in other media CSS saves a lot of work. It can control the layout of multiple web pages all at once External stylesheets are stored in CSS files. CSS  Selectors CSS selectors are used to "find" (or select) the HTML elements you want to style. Basic Selectors Type selector : targets elements by tag name css p { color : red; } Universal selector : matches any element css * { margin : 0 ; } ``` :contentReference[oaicite: 5 ]{index= 5 } Class selector : targets elements by class css .myClass { text-decoration : underline; } ``` :contentReference[oaicite: 7 ]{index= 7 } ID selector : targets a unique element by id css #myId { font-family : monospace; } ``` :contentReference[oaicite: 9 ]{index= 9 } 🔗 Combinators (show relationships between selectors) Descendant ( ) : matches...

html

 HTML HTML  (HyperText Markup Language) is the most basic building block of the Web. It defines the meaning and structure of web content. Other technologies besides HTML are generally used to describe a web page's appearance/presentation ( CSS ) or functionality/behavior ( JavaScript ).                                                                        "Hypertext" refe      rs to links that connect web pages to one another, either within a single website or between websites. Links are a fundamental aspect of the Web. By uploading content to the Internet and linking it to pages created by other people, you become an active participant in the World Wide Web. https://developer.mozilla.org/en-US/docs/Web/HTML/Guides/Cheatsheet <!DOCTYPE html> <html> <head>   ...