Html codes
184 subscribers
112 photos
15 videos
226 files
198 links
👋 Welcome to Html Codee
🚀 Here you’ll find mini tools, code snippets, and web tricks to grow fast.
🧩 Built with HTML, PHP, and smart ideas.
💌 Support: support@bestpage.x10.mx
🏁 If you don't walk today, run tomorrow.
Download Telegram
Which HTML element is used to define the structure of a webpage?
Anonymous Quiz
33%
<body>
0%
<header>
0%
<section>
67%
All of the above
🏆1
`
<div id="article-carousel" class="relative w-full" data-carousel="static">
<!-- Carousel wrapper -->
<div class="relative h-56 overflow-hidden rounded-lg md:h-96">
<!-- Item 1 -->
<div class="hidden duration-700 ease-in-out" data-carousel-item>
<div class="max-w-sm bg-white border border-gray-200 rounded-lg shadow">
<a href="#">
<img class="rounded-t-lg" src="https://via.placeholder.com/400x250" alt="Article Image 1" />
</a>
<div class="p-5">
<a href="#">
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900">Article Title 1</h5>
</a>
<p class="mb-3 font-normal text-gray-700">This is a short description of article 1...</p>
<a href="#" class="inline-flex items-center px-3 py-2 text-sm font-medium text-center text-white bg-blue-600 rounded-lg hover:bg-blue-700 focus:ring-4 focus:outline-none focus:ring-blue-300">
Read More
<svg aria-hidden="true" class="w-4 h-4 ml-2 -mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</a>
</div>
</div>
</div>

<!-- Item 2 -->
<div class="hidden duration-700 ease-in-out" data-carousel-item>
<div class="max-w-sm bg-white border border-gray-200 rounded-lg shadow">
<a href="#">
<img class="rounded-t-lg" src="https://via.placeholder.com/400x250" alt="Article Image 2" />
</a>
<div class="p-5">
<a href="#">
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900">Article Title 2</h5>
</a>
<p class="mb-3 font-normal text-gray-700">This is a short description of article 2...</p>
<a href="#" class="inline-flex items-center px-3 py-2 text-sm font-medium text-center text-white bg-blue-600 rounded-lg hover:bg-blue-700 focus:ring-4 focus:outline-none focus:ring-blue-300">
Read More
<svg aria-hidden="true" class="w-4 h-4 ml-2 -mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</a>
</div>
</div>
</div>

<!-- Item 3 -->
<div class="hidden duration-700 ease-in-out" data-carousel-item>
<div class="max-w-sm bg-white border border-gray-200 rounded-lg shadow">
<a href="#">
<img class="rounded-t-lg" src="https://via.placeholder.com/400x250" alt="Article Image 3" />
</a>
<div class="p-5">
<a href="#">
<h5 class="mb-2 text-2xl font-bold tracking-tight text-gray-900">Article Title 3</h5>
</a>
<p class="mb-3 font-normal text-gray-700">This is a short description of article 3...</p>
<a href="#" class="inline-flex items-center px-3 py-2 text-sm font-medium text-center text-white bg-blue-600 rounded-lg hover:bg-blue-700 focus:ring-4 focus:outline-none focus:ring-blue-300">
Read More
<svg aria-hidden="true" class="w-4 h-4 ml-2 -mr-1" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
</a>
</div>
</div>
</div>
</div>

<!-- Slider controls -->
<button type="button" class="absolute top-0 left-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none" data-carousel-prev>
<span class="inline-flex items-center justify-center w-8 h-8 rounded-full bg-white/30 group-hover:bg-white/50 group-focus:ring-4 group-focus:ring-white group-focus:outline-none">
👍1
<svg aria-hidden="true" class="w-6 h-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path>
</svg>
<span class="sr-only">Previous</span>
</span>
</button>
<button type="button" class="absolute top-0 right-0 z-30 flex items-center justify-center h-full px-4 cursor-pointer group focus:outline-none" data-carousel-next>
<span class="inline-flex items-center justify-center w-8 h-8 rounded-full bg-white/30 group-hover:bg-white/50 group-focus:ring-4 group-focus:ring-white group-focus:outline-none">
<svg aria-hidden="true" class="w-6 h-6 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
</svg>
<span class="sr-only">Next</span>
</span>
</button>
</div>
`
@Html_codee |this is pro code !
👍1
Select the valid attribute name
Anonymous Quiz
0%
Description
60%
Alt
40%
500px
👍1🆒1
Basic HTML Commands:*

1. <html> - Root element of HTML document
2. <head> - Contains metadata about document
3. <title> - Sets title of page
4. <body> - Contains content of HTML document
5. <h1-6> - Headings (h1 largest, h6 smallest)
6. <p> - Paragraph
7. <br> - Line break
8. <hr> - Horizontal rule

*Text Formatting Commands:*

1. <b> - Bold text
2. <i> - Italic text
3. <u> - Underlined text
4. <s> - Strikethrough text
5. <strong> - Strongly emphasized text
6. <em> - Emphasized text
7. <mark> - Highlighted text
8. <small> - Smaller text
9. <del> - Deleted text
10. <ins> - Inserted text

*Link Commands:*

1. <a> - Anchor (link)
2. <link> - Links external stylesheet

*Image Commands:*

1. <img> - Image
2. <figure> - Figure (image with caption)
3. <figcaption> - Figure caption

*List Commands:*

1. <ul> - Unordered list
2. <ol> - Ordered list
3. <li> - List item
4. <dl> - Definition list
5. <dt> - Definition term
6. <dd> - Definition description

*Table
From Precious Chisom
👍3👎1
Smart 🧠:
S-pecific
M-easurable
A-chievable
R-elevant
T-imely

©️sololearn app

•••••••••☆☆☆☆☆••••••••••
Join our channel @Html_codee
Do you want share own codes to this channel?
Here is a simple HTML and Tailwind CSS code snippet to display a video with a poster image using Tailwind CSS classes:

<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Video with Poster using Tailwind CSS</title>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
</head>

<body class="bg-gray-200 flex items-center justify-center h-screen">
<div class="max-w-md">
<video controls poster="https://placekitten.com/800/600" class="w-full">
<source src="https://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
</body>

</html>


In this code snippet:
- We have an HTML structure that includes a video element with the controls attribute for playback controls.
- The poster attribute specifies an image that is displayed while the video is downloading or until the user plays it.
- We use Tailwind CSS classes for styling, such as centering the video on the screen and setting the background color.

You can replace the placeholder URLs with your actual video source URL and poster image URL. The provided code will display a video with a poster image using Tailwind CSS styles in a basic HTML document.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flowbite Alert</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.6.5/flowbite.min.css" rel="stylesheet">
</head>
<body class="bg-gray-100 flex justify-center items-center min-h-screen">

<!-- Flowbite Alert -->
<div id="alert-1" class="flex p-4 mb-4 text-sm text-blue-800 border border-blue-300 rounded-lg bg-blue-50" role="alert">
<svg class="w-5 h-5 mr-3" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M18 8a6 6 0 11-12 0 6 6 0 0112 0zm-6 8a8 8 0 100-16 8 8 0 000 16zm-.75-9.75a.75.75 0 111.5 0v2.25a.75.75 0 01-1.5 0V6.25zm.75 6a.75.75 0 100-1.5.75.75 0 000 1.5z" clip-rule="evenodd"></path>
</svg>
<div>
<span class="font-medium">Info alert!</span> This is a blue alert using Flowbite.
</div>
<button type="button" class="ml-auto -mx-1.5 -my-1.5 bg-blue-50 text-blue-500 rounded-lg focus:ring-2 focus:ring-blue-400 p-1.5 hover:bg-blue-200 inline-flex h-8 w-8" data-dismiss-target="#alert-1" aria-label="Close">
<span class="sr-only">Close</span>
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd"></path>
</svg>
</button>
</div>

<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.6.5/flowbite.min.js"></script>
</body>
</html>
Please open Telegram to view this post
VIEW IN TELEGRAM
🤷‍♂1
🤷‍♂1🤔1
The radio type input is responsible for playing music on a page.
Anonymous Quiz
25%
True
75%
False
🎉1
Forwarded from WeWantYou
This media is not supported in the widget
VIEW IN TELEGRAM
This media is not supported in the widget
VIEW IN TELEGRAM
👎2
In HTML, you can create tables using the <table>, <tr>, <th>, and <td> elements. Here are some essential commands and elements to create tables in HTML:

1. <table>: This is the main element used to define a table.

2. <tr>: This element defines a row in the table.

3. <th>: This element defines a header cell in a table. Header cells are typically bold and centered.

4. <td>: This element defines a standard cell in a table.

Here's a basic example of how to create a simple table with two rows and two columns:

<table>
<tr>
<th>Header 1</th>
<th>Header 2</th>
</tr>
<tr>
<td>Row 1, Cell 1</td>
<td>Row 1, Cell 2</td>
</tr>
<tr>
<td>Row 2, Cell 1</td>
<td>Row 2, Cell 2</td>
</tr>
</table>


You can further customize tables by using attributes like colspan, rowspan, border, align, and more within the table elements to control the structure and appearance of the table.

If you have specific requirements or need assistance with a particular aspect of creating HTML tables, feel free to ask for more details!
1. <div>: The <div> element is a versatile container used to group and style elements in HTML.

2. <p>: The <p> element defines a paragraph of text.

3. <a>: The <a> element creates hyperlinks to other web pages, files, locations within the same page, or email addresses.

4. <img>: The <img> element embeds images in an HTML document.

5. <ul>, <ol>, <li>: These elements create unordered lists (<ul>), ordered lists (<ol>), and list items (<li>), respectively.

6. <form>, <input>, <button>: These elements are essential for creating forms and input fields for user interaction on websites.

7. <span>: The <span> element is an inline container that allows you to apply styles or scripts to a specific section of text.

8. <header>, <footer>, <nav>, <section>, <article>: These are semantic HTML5 elements for structuring the layout of a webpage.

9. Attributes: HTML elements can have various attributes like id, class, href, src, alt, style, etc., which provide additional information or control over the elements.

•••••••••☆☆☆☆☆••••••••••
Join our channel @Html_codee