1 hour ago · 10 min read1984 words · Tech · hide · 0 comments

When HTML was first created, a document could be very simple indeed. A valid document could look like this: <TITLE>HTML document</TITLE> <H1>Heading</H1> <P>This is a paragraph with a <A HREF="https://example.com/">link</A>. It wasn’t until HTML 2.0 – the first formalised standard – that a proper document structure came into being. A DOCTYPE declaration to explain a document’s type and to handle compatibility became an expected inclusion, as did head and body sections: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HEAD> <TITLE>HTML document</TITLE> </HEAD> <BODY> <H1>Heading</H1> <P>This is a document. </BODY> In the years since HTML 2.0’s 1995 debut, the web has changed massively. However, there is a saying in the web standards world: ‘Don’t Break The Web’. There are some exceptions, but on the whole a website developed at the web’s inception should work in a modern browser, regardless of how much time has passed. To keep this compatibility, however, risks making changes…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.