Code Spark
8.11K subscribers
205 photos
11 videos
68 files
138 links
Code Spark – helps you learn coding through collaboration in an easy and fun way. Work together, start small, practice step by step, and turn ideas into real projects. Spark your mind, share your knowledge, build skills as a team, and become great program
Download Telegram
πŸ‘1
Tutorial α‰ αˆαŠ• α‹­αˆαŠ•
Final Results
88%
Amharic and English
13%
Only English
In HTML, <!DOCTYPE> (short for "Document Type Declaration") is an instruction that tells the web browser which version of HTML the document is using. It helps the browser render the webpage correctly. The declaration is placed at the very top of an HTML document before any other content.

<!DOCTYPE> α‰£αŒ­αˆ© document type αˆ›αˆˆα‰΅ αŠα‹α’  αŠ₯αŠ› α‹¨αˆαŠ•αŒ α‰€αˆ˜α‹ html type α‹ˆα‹­αˆ αˆαŠ• αŠ α‹­αŠα‰΅ html αŠ₯αŠ•α‹° αˆαŠ•αŒ α‰€αˆ α‰ α‰€αˆ‹αˆ‰ browserαŠ£α‰½αŠ• αŠ₯αŠ•α‹²α‹«α‹α‰… α‹¨α‹°αˆ­αŒ‹αˆ

-browser α‹¨αˆαŠ•α‰½αˆˆα‹  Chrome, Firefox, Safari, and Edge αŠ“α‰Έα‹ αŠ₯ነሱም  HTML, CSS, and JavaScript α‰ α‰€αˆ‹αˆ‰ interpret α‹ˆα‹­αˆ  αˆšα‰°αˆ¨αŒ‰αˆ™αˆαŠ• αŠ“α‰Έα‹

For modern HTML, the doctype declaration is very simple:

<!DOCTYPE html>

This declaration tells the browser that the document is written in HTML5, the latest version of HTML. Older versions of HTML have more complex doctype declarations, but HTML5 simplifies this to ensure compatibility and uniform rendering across browsers.

<!DOCTYPE html>

α‹­αˆ… doctype ለ browsereαŠ£α‰½αŠ• α‰ α‰€αˆ‹αˆ‰ html5 αŠ₯αŠ•α‹° αˆšαŒ α‰€αˆ α‹­αŠαŒαˆ¨α‹‹αˆ ፒ

HTML5 modern α‹¨αˆ†αŠ doctype αŠα‹ ፒ α‰ α‰°αŒ¨αˆ›αˆͺ  α‰ αŒ£αˆ α‰€αˆ‹αˆ αŠα‹α’

old doctype declare αˆ΅αŠ“αˆ¨αŒ‹α‰Έα‹ α‰ αŒ£αˆ α‹αˆ΅α‰₯ሰα‰₯ αŠ“α‰Έα‹‰α’
❀1
Element

An HTML element is a fundamental component of an HTML document that defines structure and content. It consists of an opening tag, content (in some cases), and a closing tag. Elements can contain text, images, links, and other content, or they can be structural, like defining headers or divisions in a webpage.

<opening-tag> Content goes here </closing-tag>

- Element የ HTMLαŠ α‰ΊαŠ•  α‹ˆαŠ“ part αŠα‹
አሱም α‰ α‹‰αˆ΅αŒ‘ αˆΆαˆ΅α‰΅ αŠαŒˆαˆ­α‰½αŠ• α‹­α‹­α‹›αˆ

1,opening tag
2,content ( αŒΉαŽα‰½αŠ• , αˆαˆ΅αˆŽα‰½αŠ• , link  αŠ αŠ“ α‹ˆα‹˜α‰³ )
3,closing tag

Types of HTML Elements:
- Block elements: These take up the full width available (e.g., <div>, <p>, <h1>).
- Inline elements: These take up only as much width as necessary (e.g., <a>, <span>, <img>).

የ  html αŠ α‹­αŠα‰΅α‰½

- Block element α‹¨αˆˆαŠ•αŠ• αˆ™αˆ‰ width αˆšα‹­α‹˜α‹ αˆ›αˆˆα‰΅ αŠα‹
- Inline element α‹°αˆž αŠ¨α‰°αˆ°αŒ α‹ width ውቺ αˆαŠ•αˆ ቦታ αŠ α‹­α‹αˆ



What is opening tag and closing tag ?


In HTML, opening tags and closing tags are used to define the start and end of an HTML element.

1. Opening Tag:
   - It marks the beginning of an element.
   - It is written with the element's name inside angle brackets (< >).
   - Example: <p> for a paragraph element.

2. Closing Tag:
   - It marks the end of an element.
   - It is written similarly to the opening tag, but with a forward slash (/) before the element's name.
   - Example: </p> for the end of a paragraph element.

Together, the opening and closing tags define the content enclosed by the element:

<p>This is a paragraph.</p>

Some HTML elements, like <img /> (image) and <br /> (line break), are self-closing and do not require a closing tag.


⭐ α‰  html α‹‰αˆ΅αŒ₯ opening tag αŠ αŠ“ closing tag αˆα‰°α‰…αˆ™αŠ• የ htmlαˆ‰αŠ• αˆ˜αŒ€αˆ˜αˆͺα‹«α‹‰αŠ• αŠ αŠ“ αˆ˜α‰»αˆ¨αˆ»α‹‰αŠ• αˆαŒˆαˆααˆαŠ• αŠα‹

Opening tag የ αˆαŠ•αˆˆα‹  αˆα‹«αˆ°α‹¨αŠ• መግα‰₯α‹«α‹‰αŠ• αŠα‹  α‹ˆα‹­αˆ αˆ˜αŒ€αˆ˜αˆ­α‹«α‹‰αŠ• αŠα‹

*closing tag α‹¨αˆαŠ•αˆˆα‹ αˆ˜α‹°αˆα‹°αˆα‹«α‹‰αŠ• αŠα‹ αˆα‹«αˆ°α‹¨αŠ• 

Content  αŠ αŠ› αˆ˜αƒα‰ α‹¨αˆαˆˆαŒαŠα‹‰αŠ•  ነገር αˆαŠ•α…αα‰ α‰΅  αŠα‹  αˆˆαˆ˜αˆ΅α‰°αˆ‹αˆˆα α‹¨αˆαˆˆαŒαŠα‹‰αŠ• αˆƒαˆ³α‰₯ αŠ₯α‹› αŠα‹  αˆαŠ•α…αˆα‹

α‰  opening αŠ αŠ“ α‰  closing tag መካከል αŠα‹ αˆšαŒˆαŠ˜α‹


αˆ΅αŠ“αŒ α‰ƒαˆαˆˆα‹ opening tag elementαŠ α‰½αŠ• α‹¨αŒ€αˆ˜αˆ¨α‰ α‰΅ ቦታ αˆšα‹«αˆ³α‹¨α‹ αŠα‹
Closing tag αˆα‹«αˆ°α‹¨αŠ•  elementαŠ α‰½αŠ• αˆα‹«α‰†αˆα‰ α‰΅ ቦታ αŠα‹

ለምሳሌ :-

<p>

α‹­αˆ„ opening tag α‹­α‰£αˆ‹αˆ


<\p> 

α‹­αˆƒ α‹°αˆž closing tag α‹­α‰£αˆ‹αˆ

α‹­αˆ„αŠ• አጠር α‰ αˆ‹ video αŠ αŠ“α‹¨α‹‹αˆˆαŠ•
α‹­αˆ˜α‰»α‰Ή  commentαŠ α‰½αˆαŠ•  αŠ¨α‰³α‰½ αŠ αˆ³α‹‰α‰αŠ•
πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡πŸ‘‡
πŸ‘5❀4
HTML Headings

HTML headings are used to define headings and subheadings in a web page. There are six levels of headings, from <h1> to <h6>. These tags help structure the content of a page, with <h1> being the highest (or most important) level of heading, and <h6> the lowest.

⭐⭐Html heading αˆ›αˆˆα‰΅ ከ web page αŠ α‰½αŠ• title αˆˆαˆ˜αƒα αˆαŠ•αŒ α‰€αˆ˜α‹ αŠα‹

Html heading αˆˆαˆ˜αƒα 6 α‹°αˆ¨αŒƒ αŠ αˆˆαŠ• <h1> አሡካ <h6> α‹΅αˆ¨αˆ΅  <h1> α‰΅αˆα‰ αˆ²αˆ†αŠ• <h6> α‹°αˆž α‰ αŒ£αˆ α‰΅αŠ•αˆΉ αŠ“ α‹¨αˆ˜α‰Έαˆ¨αˆ»α‹  αŠα‹

HTML Heading Tags:
- <h1>: Main heading (usually used for the title of the page).
- <h2>: Subheading under <h1>.
- <h3>: Subheading under <h2>.
- <h4>: Subheading under <h3>.
- <h5>: Subheading under <h4>.
- <h6>: Subheading under <h5>.

Example:
<h1>This is Heading 1</h1>
<h2>This is Heading 2</h2>
<h3>This is Heading 3</h3>
<h4>This is Heading 4</h4>
<h5>This is Heading 5</h5>
<h6>This is Heading 6</h6>

importance of Headings:
- SEO (Search Engine Optimization): Search engines use headings to understand the structure and content of a page, making headings important for ranking in search results.
- Accessibility: Screen readers use headings to help users navigate the content of a webpage easily.

πŸ‘‰https://t.me/muju_man
πŸ‘1
Top 10 programming languages & frameworks for beginner web developers:

1. HTML/CSS – Basics of web structure & styling
2. JavaScript – Adds interactivity
3. Python – Backend & versatility
4. PHP – Server-side scripting
5. SQL – Database management
6. Ruby on Rails – Easy backend framework
7. Node.js – JavaScript backend runtime
8. React – Popular frontend library
9. Angular – Framework for building dynamic UIs
10. Bootstrap – Simplifies responsive design
❀1
HTML Paragraphs
β€’ The HTML <p> element defines a paragraph.
β€’ A paragraph always starts on a new line, and browsers automatically add some white space (a margin) before and after a paragraph
β€’ Example
<p>This is a paragraph.</p> 
<p>This is another paragraph.</p>

Output:
This is a paragraph
This is another paragraph.

HTML peragraphs αˆ˜αˆˆα‰΅ ሰለ αŠ αŠ•α‹΅ ነገር αˆ˜α…αˆα αˆ΅αŠ•αˆαˆαŒ α‹¨αˆαŠ•αŒ α‰€αˆ˜α‹ αŠα‹

HTML <p> elenent paragraph αˆ΅αŠ•α…αŠ₯ፍ α‹¨αˆαŠ•αŒ α‰€αˆ˜α‹ αŠα‹

ለምሳሌ :-
<p>This is a paragraph.</p> 
<p>This is another paragraph.</p>


https://t.me/Muju_man_coding
πŸ‘1
πŸ‘2
2,Which HTML tag is used for the largest heading?g?**
Anonymous Quiz
71%
A) <h1>
17%
B) <h6> 
4%
   C) <h3> 
8%
D) <p>
3,What tag is used to create a paragraph in HTML?L?**
Anonymous Quiz
15%
A) <para> 
5%
B) <div> 
77%
C) <p> 
3%
D) <h2>
4,Which element is required to start an HTML document ? 

    
Anonymous Quiz
16%
A) <head> 
24%
B) <html> 
58%
C) <!DOCTYPE html> 
2%
D) <body>
πŸ‘1