Web Development @programming.dev cm0002 @lemdro.id 5天前 HTML’s Best Kept Secret: The output Tag denodell.com HTML’s Best Kept Secret: The output Tag
Nearly every web app that uses an input calculates and displays some result based on those inputs. It's clearly useful.
If you prefer reading instead of watching: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/output
What do you mean by "instead of watching"? OP links to a text article.I still prefer your MDN link though. Concise, and a more readable layout. Dunno why OP felt the need to increase the font size that much into a wide layout.
Less "best kept secret" more "not very useful so nobody cared to learn about it".
Nearly every web app that uses an
input
calculates and displays some result based on those inputs. It's clearly useful.You can do that with a div. Its only use is slightly improved default accessibility behaviour.