there’s a part in this section that says –
As a simple example, consider a web page written by an author who only considered desktop computer web browsers:
<!DOCTYPE HTML>
<html lang="en">
<head>
<title>My Page</title>
</head>
<body>
<h1>Welcome to my page</h1>
<p>I like cars and lorries and have a big Jeep!</p>
<h2>Where I live</h2>
<p>I live in a small hut on a mountain!</p>
</body>
</html>
Because HTML conveys meaning, rather than presentation, the same page can also be used by a small browser on a mobile phone, without any change to the page. Instead of headings being in large letters as on the desktop, for example, the browser on the mobile phone might use the same size text for the whole page, but with the headings in bold.
but there’s no need for semantics for this feature, we have enough techniques and tools to make page responsive, for both semantic and non-semantic parts of a page, then why the specification refers this example as a merit/advantage of the use of semantic elements ?
this example mentioned by the specification specifically credits the usage of semantic elements for this particular feature of what seems to be an identical analogue to responsive layouts, the authors of the specification must have known that semantics has nothing to do with responsiveness in visual representation of a page on different screen sizes, then why would they put such example ?
i tried searching on the web for this issue, but couldn’t find any relevant article. I tried asking chatgpt about it, but it gave vague answers.