Friday, February 2, 2018

Lesson 22 (computer code)

This could be terribly useful to me. One can include -
effectively quote - computer code within an html page
and have it appear as code. Just put it between code
tags, and never use actual tags in what one wants to code.
To wit:


The code appears in the browser's default font. If one has a long code example,
we can wrap that in pre tags to maintain format. One can also indicate a variable
with var, refer to user input with kbd and sample code with samp...

source: W3 Schools

No comments: