HTML Basics Quiz

PeerlessLearning avatar
PeerlessLearning
·
·
Download

Start Quiz

Study Flashcards

18 Questions

ما هو العنصر الرئيسي في مستند HTML؟

ما هو الغرض من عنصر في مستند HTML؟

لتخزين بيانات عن المستند

ما هو النوع من العناصر التي تسمى بالعناصر البنائية؟

العناصر الهيكلية

ما هو الغرض من السمة id في عنصر HTML؟

لفorum 唯ح Identification

ما هو العنصر المستخدم لإنشاء رابط гипер متعدد؟

ما هو النوع من العناصر التي تسمى بالعناصر التصويرية؟

العناصر التصويرية

ما هو الاسم الكامل ل HTML؟

HyperText Markup Language

ما هو الجزء الأساسي من بنية مستند HTML؟

عناصر

ما هو النوع من العناصر التي يمكن أن تحتوي على عناصر أخرى؟

عناصر كتلة

ما هو الغرض من التعريفات العلوية في مستند HTML؟

لأضافة معلومات عن الصفحة

ما هو الوسم الذي يحتوي على محتوى الصفحة؟

ما هو الوسم الذي يعلن نوع المستند؟

</div>

ما هو الغرض من السمة href في عنصر HTML؟

لتعيين عنوان الهدف للرابط

ما هو العنصر الذي ي 定ف القسم الرئيسي من مستند HTML؟

main

ما هو الغرض من السمة alt في عنصر HTML؟

لتعيين النص البديل للصورة

ما هو النوع من HTML الذي يركز على معني المحتوى أكثر من عرضه؟

HTML سيميانتيكي

ما هو العنصر الذي ي địnhف القسم من المحتوى ذات الصلة؟

section

ما هو العنصر الذي ي địnhف قسم النavigation في مستند HTML؟

nav

Study Notes

HTML Basics

  • HTML stands for HyperText Markup Language
  • It's a standard markup language used to create web pages
  • HTML is the backbone of a website, providing structure and content

HTML Structure

  • HTML Document:
    • Starts with <!DOCTYPE html> declaration
    • <html> element is the root element
    • <head> contains metadata about the document
    • <body> contains the content of the HTML document

HTML Elements

  • Elements:
    • Represented by tags ( <tag> )
    • Tags usually come in pairs, with the opening tag preceding the content and the closing tag following the content
    • Some elements are self-closing (e.g., <img> )
  • Types of Elements:
    • Structural Elements (e.g., <p>, <h1>, <ul> )
    • Semantic Elements (e.g., <header>, <nav>, <footer> )
    • Presentational Elements (e.g., <b>, <i> )

Common HTML Elements

  • Headings:
    • <h1>, <h2>, <h3>, ..., <h6> for headings
  • Paragraphs:
    • <p> for paragraphs
  • Links:
    • <a> for hyperlinks
  • Images:
    • <img> for images
  • Lists:
    • <ul> for unordered lists
    • <ol> for ordered lists
    • <li> for list items

HTML Attributes

  • Attributes:
    • Provide additional information about an element
    • Consist of a name and a value (e.g., href="https://www.example.com" )
  • Common Attributes:
    • id for unique identification
    • class for styling and grouping
    • style for inline styling
    • title for tooltips and additional information

Test your knowledge of HTML fundamentals, including HTML structure, elements, and attributes. Learn about the basics of HTML and how to use it to create web pages.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Introduction to HTML Basics
18 questions

Introduction to HTML Basics

EnrapturedSeaborgium avatar
EnrapturedSeaborgium
HTML5 Basics
5 questions

HTML5 Basics

RoomierMilkyWay avatar
RoomierMilkyWay
Use Quizgecko on...
Browser
Browser