A collection of 35+ beginner-friendly HTML programs, each written as a separate, self-contained .html file. Every file focuses on one core HTML concept, making it easy to open, read, and learn from individually.
- 01_hello_world.html - Basic HTML boilerplate
- 02_headings.html - Heading tags (h1-h6)
- 03_paragraphs.html - Paragraph text
- 04_text_formatting.html - Bold, italic, underline, mark, sub/sup
- 05_line_break_horizontal_rule.html -
and - 06_unordered_list.html - Unordered lists
- 07_ordered_list.html - Ordered lists
- 08_nested_lists.html - Nested lists
- 09_links.html - Hyperlinks, anchors, mailto
- 10_images.html - Image embedding
- 11_tables_basic.html - Basic tables
- 12_tables_rowspan_colspan.html - Table rowspan/colspan
- 13_div_span.html - Div and span elements
- 14_forms_basic.html - Basic form structure
- 15_form_input_types.html - Various input types
- 16_form_radio_checkbox.html - Radio buttons and checkboxes
- 17_form_select_dropdown.html - Select dropdowns
- 18_form_textarea.html - Textarea
- 19_form_fieldset_legend.html - Fieldset and legend
- 20_semantic_elements.html - header, nav, main, article, aside, footer
- 21_iframe.html - Iframes
- 22_audio.html - Audio element
- 23_video.html - Video element
- 24_comments.html - HTML comments
- 25_meta_tags.html - Meta tags
- 26_entities.html - HTML entities
- 27_colors.html - Text and background colors
- 28_css_inline_internal.html - Inline and internal CSS
- 29_details_summary.html - Details/summary (collapsible content)
- 30_progress_meter.html - Progress and meter elements
- 31_datalist.html - Datalist (autocomplete input)
- 32_canvas_basic.html - Basic canvas drawing
- 33_svg_basic.html - Basic SVG shapes
- 34_blockquote_cite.html - Blockquote and citations
- 35_attributes_demo.html - Common HTML attributes
-
Clone or download this repository.
-
Open any .html file directly in your browser (double-click it, or right-click > Open with > Browser).
-
Optionally open the file in a code editor (VS Code, etc.) to read the source and see how each feature is implemented.
git clone https://github.com/mhd-haarish07/Basic-HTML-programs-.git cd Basic-HTML-programs-
- Beginners learning HTML from scratch
- Students preparing for exams or practicals
- Anyone who wants quick, minimal reference examples for specific HTML tags/features
Plain HTML5 (no frameworks, no build tools - just open and run)
Free to use for learning and reference purposes.