Skip to content

CodeSpherehub/frontend-HTML-CSS-JS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frontend-HTML-CSS-JS

📘 HTML Syllabus — Beginner to Intermediate

This repository is a roadmap to learning HTML from scratch.
It covers the essentials, from basic tags to semantic elements, and includes mini-projects to apply your knowledge.


🟢 Beginner Level (HTML Basics)

1. HTML Structure

  • <!DOCTYPE html>, <html>, <head>, <body>
  • Metadata: <title>, <meta charset="UTF-8">

2. Text & Headings

  • Headings: <h1><h6>
  • Paragraph: <p>
  • Line breaks: <br>
  • Horizontal line: <hr>

3. Formatting Text

  • <b>, <i>, <u>
  • <strong>, <em>
  • <sup>, <sub>

4. Lists

  • Ordered list: <ol> <li>
  • Unordered list: <ul> <li>
  • Definition list: <dl> <dt> <dd>

5. Links & Navigation

  • <a href="...">
  • target="_blank"
  • Anchor links with id

6. Images

  • <img src="..." alt="...">
  • Attributes: width, height, title

🟡 Intermediate Level (Structured Content)

7. Tables

  • <table>, <tr>, <th>, <td>
  • Attributes: border, rowspan, colspan

8. Forms (User Input)

  • <form action="" method="">
  • Input types: text, email, password, number, date
  • <textarea>
  • <select> <option>
  • Checkboxes & Radio buttons
  • Submit & Reset buttons

9. Media

  • <video>, <audio>, with controls
  • <iframe> (YouTube, maps)

10. Semantic HTML (HTML5)

  • <header>, <footer>, <nav>
  • <main>, <article>, <section>
  • <aside>, <figure>, <figcaption>
  • <mark>, <time>, <progress>

11. Advanced Attributes

  • id & class
  • Accessibility: alt, title
  • Form attributes: placeholder, value, required

12. Best Practices

  • Indentation & clean code
  • Accessibility (alt, labels for forms)
  • SEO basics (headings, meta tags)

🟣 Practical Projects (Apply What You Learn)

  1. 📝 Resume Page (text + headings + links)
  2. 🌍 Personal Website (multi-page)
  3. 📊 Timetable (practice tables)
  4. 🔐 Login & Signup Form (forms practice)
  5. 📰 Blog Page (semantic HTML + media)

###🎨 Essential CSS Properties

🖌️ 1. Colors & Background

color → text color background-color → background fill background-image → set an image as background background-repeat → repeat / no-repeat background-size → cover / contain

🔠 2. Text Styling

font-size → size of text (px, em, rem, %) font-family → font (Arial, Verdana, etc.) font-weight → normal / bold / lighter font-style → normal / italic text-align → left / center / right / justify text-decoration → underline / line-through / none line-height → spacing between lines letter-spacing → space between letters word-spacing → space between words

3. Box Model (very important!)

Every HTML element is treated as a box: width / height margin → space outside the element padding → space inside the element border → outline of the element (style, width, color)

4. Display & Position

display → block, inline, inline-block, none position → static, relative, absolute, fixed, sticky top, left, right, bottom → move elements (with position) z-index → stack order (higher = in front)

🖼️ 5. Images & Media

width, height → resize images object-fit → cover / contain (when resizing images in a box) border-radius → rounded corners / circles

6. Cursor & Interaction

cursor → pointer, text, move, etc. opacity → transparency (0 = invisible, 1 = normal) visibility → visible / hidden

7. Transitions & Animations (intermediate)

transition → smooth effect for changes transform → rotate, scale, translate animation → run keyframe animation

⚡ By completing this syllabus, you’ll be an Intermediate HTML Developer, ready to move into CSS for styling & layouts.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages