+ 1

Html 5 document question

"In a semantic HTML5 document, is it valid to place multiple <main> elements on the same page? If yes, under what conditions is it allowed? If no, why not?"

30th Jun 2025, 7:04 PM
𝔸𝕔𝕒𝕟𝕥𝕙𝕒
𝔸𝕔𝕒𝕟𝕥𝕙𝕒 - avatar
2 odpowiedzi
+ 4
Read the documentation and find it out like a pro! https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/main Use a meaningful tag, not "melody"
30th Jun 2025, 7:29 PM
Lisa
Lisa - avatar
+ 1
I thank you
30th Jun 2025, 7:41 PM
𝔸𝕔𝕒𝕟𝕥𝕙𝕒
𝔸𝕔𝕒𝕟𝕥𝕙𝕒 - avatar