This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Imagine speaking: | |
| <b> = you write in bold ink | |
| <strong> = you raise your voice | |
| <em> = you stress one word | |
| <i> = you tilt your handwriting | |
| Same look ≠ same meaning. | |
| Why they look the same to users… but still exist | |
| 👀 To a human user | |
| <b>, <strong> → both look bold | |
| <em>, <i> → both look italic |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HTML Quick Notes | |
| Semantic HTML → describes meaning of content (<header>, <nav>, <main>, <section>, <article>, <footer>, <h1>–<p>). Good for SEO & accessibility. | |
| Non-semantic HTML → does not describe meaning (<div>, <span>). Used for layout/styling. | |
| Presentational HTML → controls appearance (<font>, <center>, <big>). Deprecated → use CSS instead. | |
| Deprecated = old / not recommended, may stop working in future. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SEO stands for Search Engine Optimization. | |
| What that means in plain English | |
| SEO = making your website easy for search engines (like Google) to understand and find. | |
| When SEO is good: | |
| Your site can appear higher in search results | |
| More people can find your website | |
| Very simple example | |
| If you have a page about Italian recipes 🍝 | |
| Good SEO helps Google understand: | |
| “Ah, this page is about Italian recipes” |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Is <section> the same as <div>? | |
| ❌ No, they are NOT the same | |
| ✅ They look the same in the browser | |
| ✅ But they mean different things | |
| The BIG difference (very simple) | |
| <div> | |
| 👉 No meaning | |
| 👉 Just groups things | |
| <section> | |
| 👉 Has meaning |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Class Example</title> | |
| <style> | |
| /* Style all elements with class "highlight" */ | |
| .highlight { | |
| color: darkorange; | |
| font-weight: bold; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Examples in real life Thumbnail : | |
| 1. YouTube: | |
| * Small video preview → click → full video plays | |
| * That small preview = thumbnail | |
| 2. Photo gallery: | |
| * Lots of small images → click one → opens bigger | |
| * Small images = thumbnails | |
| 3. Online store: | |
| * Product images on catalog page → click → full product image | |
| * Catalog images = thumbnails |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <p> | |
| Read more on the | |
| <a | |
| href="/Users/user/Desktop/fCC/script-code/absolute-vs-relative-paths/pages/about.html" | |
| >About Page</a | |
| > | |
| </p> | |
| It looks like this because we are going into a folder called Users, then into a folder called user, then into a folder called Desktop, then into a folder called fCC, then into a folder called script-code, then into a folder called absolute-vs-relative-paths, then into a folder called pages to finally get the about.html file.Absolute vs Relative Paths — Simple Summary |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1️⃣ The Copyright Symbol: © | |
| * Appears as: © | |
| * Meaning in simple words: “This work belongs to the creator. You cannot copy, use, or sell it without permission.” | |
| * French: “Cette œuvre appartient à son créateur. Vous ne pouvez pas la copier, l’utiliser ou la vendre sans autorisation.” | |
| 2️⃣ حقوق الطبع والنشر (Arabic) / Copyright (English) / Droits d’auteur (French) | |
| * Appears as: | |
| * Arabic: حقوق الطبع والنشر | |
| * English: Copyright |