HTML

Cards (29)

  • Body
    The main content of a webpage, containing all the visible content that users see
  • Head
    Contains behind-the-scenes information and metadata for browsers and search engines
  • Headings
    • Define the structure of content with six levels, indicating main topics and subtopics
    • Always written in bold letters on the web
  • Paragraphs
    Group text blocks for readability, allowing for various text content and formatting within
  • Paragraphs
    • <p>I miss you na po</p>
  • Images
    Elements used to display visual content on a web page, represented using the <img> tag
  • Images
    • <img src="7aa56780dd32676633934beb201da8e7.jpg" alt="Cute girls in the beach" height="400" width="300">
  • Hyperlinks
    Elements that allow users to navigate between web pages or different sections within the same page, created using the <a> tag
  • Hyperlinks
    • <a href="index.html">Click Me</a>
  • Audio
    Elements used to embed audio content into a web page, using the <audio> tag
  • Audio
    • <audio src="spotifydown.com - Sinta.mp3" controls type="audio/mp3"></audio>
  • Video
    Elements used to embed video content into a web page, using the <video> tag
  • Video
    • <video src="received_3691070367797319.mp4" controls height="280" width="280" id="v1"></video>
  • Ordered Lists
    • Lists where each item is numbered, created using the <ol> element
  • Ordered Lists
    • <ol><li>Burger</li><li>Fries</li><li>Fried Chicken</li><li>Piniritong manok</li></ol>
  • Unordered Lists
    • Lists where each item is bulleted or marked with a similar symbol, created using the <ul> element
  • Unordered Lists
    • <ul><li>Burger</li><li>Fries</li><li>Fried Chicken</li><li>Piniritong manok</li></ul>
  • Description Lists
    • Lists where each item consists of a term and its description, created using the <dl> element
  • Description Lists
    • <dl><dt>Coffee</dt><dd>Black hot drink</dd><dt>Milk</dt><dd>White cold drink</dd></dl>
  • Input Types
    Form controls that allow users to input data, specified using the type attribute of the <input> element
  • Input Types
    • Text input
    • Password input
    • Checkbox
    • Radio button
    • Submit button
    • Reset button
  • In HTML, the <input> element is used to create form controls that allow users to input data. The 'type' attribute of the <input> element specifies the type of input control that will be created.
  • Input types
    • Text input (type="text")
    • Password input (type="password")
    • Checkbox (type="checkbox")
    • Radio button (type="radio")
    • Submit button (type="submit")
    • Reset button (type="reset")
    • File input (type="file")
    • Date input (type="date")
  • In HTML, <div> is a block-level element that is used to create a division or section in a web page. It is a generic container that allows you to group and style content together.
  • In HTML, <span> is an inline-level element used to apply styles or manipulate specific portions of text within a larger block of content without affecting the structure of the document.
  • In HTML, the <table> element is used to create tabular data or tables. Tables consist of rows (<tr>) and columns (<td> for regular cells, <th> for header cells). The structure of a table is defined by these elements.
  • The <main> tag is a semantic HTML5 element used to represent the main content of a document or web page.
  • The <section> element is often used to divide the content of a webpage into distinct sections, such as chapters, articles, or functional blocks.
  • HTML Attributes
    • CLASS
    • ID
    • STYLE
    • SRC
    • HREF
    • ALT
    • TITLE
    • WIDTH
    • HEIGHT
    • PLACEHOLDER
    • TYPE
    • VALUE
    • CHECKED
    • DISABLED
    • READONLY
    • MAXLENGTH
    • MIN
    • MAX
    • REQUIRED
    • AUTOFOCUS