So in my CSE class, the homeworks are given like this: http://web.cse.ohio-state.edu/software/2221/web-sw1/assignments/homeworks/methods.html. I was wondering specifically, does anybody know how to format sections of code in an xhtml document to look like the blue sections of code in the link above (i.e. https://i.imgur.com/UzDZkte.png)? I have attempted to look it up and have looked through several xhtml guides but can't find instructions on this specific kind of formatting.
Not sure if this is the right subreddit to ask this, but any help would be appreciated.