diff --git a/README.md b/README.md index 61c824a..8b4faa2 100644 --- a/README.md +++ b/README.md @@ -1,909 +1,150 @@ -# CSS & HTML Revision Project +# html-css-learning -This project is a hands-on journey through modern HTML and CSS, covering layout, forms, entities, and more. Each folder demonstrates a core concept with live code and comments for revision. +A repository focused on learning and demonstrating **HTML & CSS** with detailed code snippets, examples, and best practices (e.g. centering a `
` and more). --- -## 1. Nested Iframes and Basic HTML Structure (`1/`) - -**Files:** -- `index.html`, `child.html`, `child2.html`, `styles.css`, `script.js` - -**What you learn:** -- How to use iframes to nest web pages within each other. -- The difference between the main page, a child iframe, and a nested child iframe. -- How to use the `target` attribute in anchor tags: - - `_parent`: Opens link in the parent frame. - - `_top`: Opens link in the topmost frame. - - `_blank`: Opens link in a new tab. -- Basic CSS for background and font styling. - -**Key code & comments:** -```html - -

Main Page (Level 0)

- -``` -```html - -

Child Page (Level 1, inside iframe)

- -``` -```html - -Go to Google (in parent) -Go to Google (in top) -Go to Google (in new tab) -``` -```css -/* styles.css */ -body { - background-color: #f0f0f0; - font-family: Arial, sans-serif; -} -``` +## πŸ“˜ Table of Contents ---- +* [About](#about) +* [Features / Topics Covered](#features--topics-covered) +* [Folder / File Structure](#folder--file-structure) +* [Getting Started](#getting-started) -## 2. Bookmarks Page, Headings, and Iframes (`2/`) - -**Files:** -- `index.html`, `bookmarkmanager.html`, `styles.css`, `script.js` - -**What you learn:** -- How to use all heading tags (`h1` to `h6`) for semantic structure. -- How to use paragraphs for text content. -- How to use anchor tags with different `target` values for link behavior. -- How to embed external web pages using `iframe`. -- Basic CSS for background and text color. - -**Key code & comments:** -```html - -

My Bookmarks - using h1

-

Main Bookmarks - using h2

-... -

Lorem ipsum ...

-``` -```html - - - - - -Open Google -... - -``` -```css -/* styles.css */ -body { - background-color: rgb(206, 133, 169) -} -h1 { - color: rgb(160, 41, 122); -} -p { - color: rgb(116, 183, 0); -} -``` + * [Prerequisites](#prerequisites) + * [How to Use / Explore](#how-to-use--explore) +* [Examples / Snippets](#examples--snippets) +* [Best Practices & Tips](#best-practices--tips) +* [Contributing](#contributing) +* [License](#license) --- -## 3. HTML Forms (`3forms/`) - -**Files:** -- `index.html` - -**What you learn:** -- How to create a complete HTML form with various input types. -- Use of `
`, ``, `