Creating a single HTML file is my current project requirement. I am looking to incorporate CSS in order to ensure that links within the document are clearly visible and easy to find (perhaps styled as blue with underlines) when accessed through a web browser. However, I also want most of this styling to be hidden when the document is printed.
Can this be achieved using only a <style>
block?
Or would I need to utilize JavaScript tricks to accomplish what I have in mind?