Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 75ea463

Browse filesBrowse files
aduh95addaleax
authored andcommitted
doc: use semantically appropriate tag for lines
The HTML <hr> element represents a thematic break between paragraph-level elements: for example, a change of scene in a story, or a shift of topic within a section. The HTML Content Division element (<div>) is the generic container for flow content and does not inherently represent anything. The <hr> tag semantically fits better the meaning of the line between the lists. Refs: https://html.spec.whatwg.org/multipage/grouping-content.html#the-hr-element PR-URL: #34660 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent e23f7ee commit 75ea463
Copy full SHA for 75ea463

File tree

Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

2 files changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎doc/api/index.md‎

Copy file name to clipboardExpand all lines: doc/api/index.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* [About this documentation](documentation.html)
99
* [Usage and example](synopsis.html)
1010

11-
<div class="line"></div>
11+
<hr class="line"/>
1212

1313
* [Assertion testing](assert.html)
1414
* [Async hooks](async_hooks.html)
@@ -61,6 +61,6 @@
6161
* [Worker threads](worker_threads.html)
6262
* [Zlib](zlib.html)
6363

64-
<div class="line"></div>
64+
<hr class="line"/>
6565

6666
* [Code repository and issue tracker](https://github.com/nodejs/node)
Collapse file

‎doc/api_assets/style.css‎

Copy file name to clipboardExpand all lines: doc/api_assets/style.css
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,7 @@ a code {
524524

525525
#column2 .line {
526526
margin: 0 .5rem;
527-
background-color: #707070;
527+
border-color: #707070;
528528
}
529529

530530
#column2 ul li:last-child {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.