The answer is to use this method for HTML: Replace the & character with & Replace the < character with < Replace the > character with > Optionally surround your HTML sample with <pre> and/or <code> tags. Read more about the <pre> and <code> tags. Example 1 This text has been formatted using the HTML <pre> tag. The brower should display all white space as it was Read More
Category: HTML & CSS
How to add Google Font to the CSS File
Best option: Just go to https://fonts.google.com/ Add font by clicking + Go to selected font > Embed > @IMPORT > copy url and paste in your .css file above body tag. It’s done. Second Option: <link rel=”stylesheet” href=”//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700&lang=en” /> Third Option Looks like this one not a recommended. Place @import at the very first line of the Read More