You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: index.html
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -163,7 +163,7 @@ <h1>Code snippet of a side comment.</h1>
163
163
164
164
<section>
165
165
<h1id="images-and-videos">Images and videos</h1>
166
-
<p>Images and videos are displayed using the <code><img></code> and <code><video></code> elements. If a caption is needed, wrap images and videos within the <code><figure></code> element. The <code><figcaption></code> element can contain a heading and one or more paragraphs.</p>
166
+
<p>Images and videos are displayed using the <code><img></code> and <code><video></code> elements. If a caption is needed, wrap images and videos within the <code><figure></code> element and use the <code><figcaption></code> element for the caption, as shown in the code snippet below. The <code><figcaption></code> element can contain a heading and one or more paragraphs.</p>
167
167
<figure>
168
168
<imgstyle="width: 100%" src="./media/image.png">
169
169
<figcaption>
@@ -185,7 +185,7 @@ <h1 id="images-and-videos">Images and videos</h1>
185
185
</section></code></pre>
186
186
<figcaption>
187
187
<h1>Code snippet of an image, with a descriptive caption.</h1>
188
-
<p>The <code><figure></code> element may be avoided if there is no need for a caption, in such a case the <code><img></code> element is a child of the <code><section></code> element. The default width is 600px, authors can use inline style declarations to customise the width, as described in section <strong><ahref="#customisations">Customisations</a></strong>.</p>
188
+
<p>The <code><figure></code> element may be avoided if there is no need for a caption, in such a case the <code><img></code> element is a child of the <code><section></code> element. The default width of images is 600px, equals to the default width of text paragraph and code snippets. Authors can use inline style declarations to customise the width, as described in section <strong><ahref="#customisations">Customisations</a></strong>.</p>
189
189
</figcaption>
190
190
</figure>
191
191
<h2>Videos</h2>
@@ -205,7 +205,7 @@ <h2>Videos</h2>
205
205
</section></code></pre>
206
206
<figcaption>
207
207
<h1>Code snippet of a video with a caption.</h1>
208
-
<p>As with images, videos can be inserted in the article header and have a default width of 600px.</p>
208
+
<p>As with images, videos have a default width of 600 pixels, customisable with inline declarations as described in section <strong><ahref="#customisations">Customisations</a></strong>.</p>
209
209
</figcaption>
210
210
</figure>
211
211
</section>
@@ -505,7 +505,7 @@ <h1>Maxwell's equations in vacuum.</h1>
505
505
</p>
506
506
</figure></code></pre>
507
507
<figcaption>
508
-
<p>Use TeX functions for more sophisticated math typesetting. Use the <code><figure></code> element if a caption is needed. The default width of the <code><p></code> element whitin the <code><figure></code> element is 600px. Authors can use inline style declarations to customise the width for larger formulas, as described in section <strong><ahref="#customisations">Customisations</a></strong>.</p>
508
+
<p>Use TeX functions for more sophisticated math typesetting. Use the <code><figure></code> element if a caption is needed. The default width of the <code><p></code> element within the <code><figure></code> element is 600px. Authors can use inline style declarations to customise the width for larger formulas, as described in section <strong><ahref="#customisations">Customisations</a></strong>.</p>
0 commit comments