Skip to content

Commit b3ae636

Browse files
Improve: captions for images (excl. CodeSandboxes)
1 parent f077113 commit b3ae636

File tree

1 file changed

+24
-2
lines changed

1 file changed

+24
-2
lines changed

README.md

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,10 @@ HTML, which stands for HyperText Markup Language, is the standard language used
324324

325325
#### Brief History of HTML and Its Evolution
326326

327-
![A timeline graphic showing key milestones in the history of HTML, from HTML 1.0 to HTML5.](images/html_timeline.png)
327+
| ![A timeline graphic showing key milestones in the history of HTML, from HTML 1.0 to HTML5.](images/html_timeline.png)|
328+
|:--:|
329+
| *A timeline graphic showing key milestones in the history of HTML, from HTML 1.0 to HTML5.* |
330+
328331
The journey of HTML began in the early 1990s, devised by Tim Berners-Lee, a physicist at the CERN research facility in Switzerland. Initially created to facilitate information sharing between scientists across different universities and institutes, HTML has evolved significantly over the years. Key milestones include:
329332

330333
- HTML 2.0 (1995): The first standard version, which set the core features of HTML.
@@ -336,12 +339,19 @@ These developments were guided by organizations such as the World Wide Web Conso
336339

337340
#### Understanding the Role of HTML in Web Development
338341

342+
339343
![HTML, CSS, JavaScript Interaction Diagram: A Venn diagram illustrating how HTML, CSS, and JavaScript overlap and interact in web development.](images/html_css_javascript_interaction.png)
344+
|:--:|
345+
| *HTML, CSS, JavaScript Interaction Diagram: A Venn diagram illustrating how HTML, CSS, and JavaScript overlap and interact in web development.* |
346+
340347
HTML is a key component of the web development ecosystem, used in conjunction with Cascading Style Sheets (CSS) and JavaScript. While HTML lays out the structure of the page, CSS is used for styling, and JavaScript for adding interactivity and dynamic content. This combination is essential in creating a diverse range of web applications, from simple static websites to complex interactive platforms.
341348

342349
#### Overview of Web Browsers and How They Interpret HTML
343350

344351
![Browser Rendering: showing how a sample HTML code is rendered in different browsers (Chrome, Firefox, Safari).](images/browser_rendering.png)
352+
|:--:|
353+
| *Browser Rendering: showing how a sample HTML code is rendered in different browsers (Chrome, Firefox, Safari).* |
354+
345355
Web browsers like Google Chrome, Mozilla Firefox, Safari, and Microsoft Edge are the tools through which users interact with HTML documents. Each browser interprets HTML code to display web pages. Understanding how different browsers parse and render HTML is crucial for developers to ensure consistency and compatibility across the web. This section can delve into the concept of browser rendering engines, cross-browser compatibility issues, and the importance of following web standards to minimize inconsistencies.
346356

347357
##### Example: Basic HTML Structure
@@ -388,6 +398,9 @@ Before diving into HTML coding, it's essential to choose and set up a text edito
388398
#### Understanding the File Structure for Web Projects
389399

390400
![Web Project File Structure Diagram: A flowchart or tree diagram showing a typical web project's file structure, including HTML, CSS, JavaScript files, and a folder for images.](images/html_css_javascript_project_structure.png)
401+
|:--:|
402+
| *Web Project File Structure Diagram: A flowchart or tree diagram showing a typical web project's file structure, including HTML, CSS, JavaScript files, and a folder for images.* |
403+
391404
Organizing files and folders properly is crucial in web development. A basic project might include separate HTML, CSS, and JavaScript files, along with a directory for images and other media.
392405

393406
Proper organization of web project files is crucial for maintainability and scalability. A typical HTML project might include:
@@ -469,6 +482,9 @@ document.addEventListener("DOMContentLoaded", function() {
469482
### Basics of Document Object Model (DOM)
470483

471484
![Anatomy of an HTML Document: A labeled diagram showing the structure of an HTML document, with tags like <!DOCTYPE>, <html>, <head>, and <body>.](images/dom_structure.png)
485+
|:--:|
486+
| *Anatomy of an HTML Document: A labeled diagram showing the structure of an HTML document, with tags like <!DOCTYPE>, <html>, <head>, and <body>.* |
487+
472488
Understanding the Document Object Model (DOM) is fundamental in web development. It's a programming interface for HTML and XML documents that defines the logical structure of documents and the way a document is accessed and manipulated.
473489

474490
- **What is the DOM?**: An explanation of how the DOM represents a web page as a tree-like structure.
@@ -1576,7 +1592,10 @@ This example demonstrates how to use microdata within an HTML document to descri
15761592

15771593
### Evolution and Future Trends in HTML5 and Semantic Elements
15781594

1579-
![Evolution and Future Trends in HTML5 and Semantic Elements.](images/html_evolution.png)
1595+
| ![Evolution and Future Trends in HTML5 and Semantic Elements.](images/html_evolution.png) |
1596+
|:--:|
1597+
| *Evolution and Future Trends in HTML5 and Semantic Elements.* |
1598+
15801599
The evolution of HTML5 and its semantic elements represents a significant leap forward in web development. As we look toward the future, it's clear that the emphasis on semantics, accessibility, and machine-readable code will continue to shape the development of HTML standards and practices. In this section, we'll explore some of the current trends and future directions in the use of semantic HTML, including code examples to illustrate these concepts.
15811600

15821601
#### Increased Emphasis on Accessibility
@@ -2285,6 +2304,9 @@ p {
22852304
The CSS box model describes how elements are rendered on a web page, consisting of content, padding, border, and margin.
22862305

22872306
![CSS Box Model.](images/css-box-model.png)
2307+
|:--:|
2308+
| *CSS Box Model.* |
2309+
22882310

22892311
```css
22902312
/* Box Model Properties */

0 commit comments

Comments
 (0)