The most efficient way to ensure separation was to devise a new syntax, a variant form of HTML and HTML5 that would be simple enough yet complicated enough to contain all the specifications.
On the left screen, we have a series of tags, essentially the same as before:
- <command> begins a command; </command> ends a command.
- style refers to the way in which the content is visually projected.
- /* begins a comment; */ ends a comment
On the right, we have the visual mockup of our code. Note that only the following tags are visually displayed, whereas the other tags modify the formatting of the document:
- p – paragraph
Side note: The comments are utilized by a web designer so as to avoid constant confusion by providing a quick insight as to what the particular line(s) do.
Apply your knowledge by checking out some of these useful links: