HTML ለጀማሪዎች — ከዜሮ እንጀምር 🚀
HTML for Beginners — Starting from Zero
HTML ማለት HyperText Markup Language ማለት ነው። HTML የ Web page ዋና መሰረት ነው — browser ላይ ምን ይታይ እንደሚፈልግ የምንነግርበት ቋንቋ ነው።
English: HTML stands for HyperText Markup Language. It is the standard language used to create web pages. Every website you see on the internet is built with HTML.
🏠 ቤት እንደመስራት አስቡት: HTML የቤቱ አጥንት (structure) ነው — ግድግዳ፣ ጣሪያ፣ ወለል። CSS ደግሞ ቤቱን ቀለም ማሳመር ሲሆን JavaScript ሃይል/ውሃ ማስገባት ነው።
🏠 Think of it like building a house: HTML is the skeleton/structure, CSS is the paint and decoration, JavaScript is the electricity and plumbing.
እያንዳንዱ HTML ፋይል ይህን ቅርጽ ይከተላል:
Every HTML file follows this structure:
<!-- ይህ HTML document መሆኑን ለ browser ይነግረዋል --> <!DOCTYPE html> <html lang="am"> <!-- HEAD: ሰው የማይታይ መረጃ (title, CSS, etc.) --> <head> <meta charset="UTF-8"> <title>የ Page ስም</title> </head> <!-- BODY: Browser ላይ የሚታይ ሁሉ ነገር --> <body> <h1>ሰላም! Hello World!</h1> <p>ይህ የመጀመሪያ HTML ገጼ ነው።</p> </body> </html>
<!DOCTYPE html>
ይህ HTML5 document መሆኑን ለ browser ይነግራል። Tells the browser this is an HTML5 document.
<html>
ሁሉም HTML ኮድ ውስጥ ይቀመጣል። Root element ነው። Everything goes inside this tag. It's the root element.
<head>
Title, CSS, font ወዘተ የሚቀመጥበት። ሰው page ላይ አያየውም። Contains meta info, title, CSS links — not visible on page.
<body>
ሁሉም የሚታይ ነገር — text, image, button ወዘተ። All visible content goes here — text, images, buttons, etc.
HTML Tags ምን ምን አሉ? አንዳንዶቹን እናያለን:
Here are some important HTML tags to know:
<h1>ሰላም ኢትዮጵያ! 🇪🇹</h1> <h2>HTML ትምህርት ክፍል 1</h2> <p>ይህ የ HTML ትምህርት ነው።</p> <a href="https://t.me/EthioCodeSoftSelect"> ቻናሉን ጎብኙ! </a> <ul> <li>HTML</li> <li>CSS</li> <li>JavaScript</li> </ul>
አሁኑኑ HTML ለመጻፍ እነዚህን ይሞክሩ:
Try these ways to write HTML right now:
Browser ብቻ ይበቃል → vscode.dev ይክፈቱ፣ index.html ፍጠሩ።
Open vscode.dev in browser, create index.html
Phone ላይ Play Store → "Spck Code Editor" ይጫኑ።
Install "Spck Code Editor" from Play Store on Android.
code.visualstudio.com → Download → index.html → Browser ላይ ክፈቱ።
Download VS Code, create index.html, open in browser.