Alright, I am posting a blog and there is a sentence in my blog that I want pre-highlighted so that anyone who reads my blog will have that sentence highlighted. Does anyone know the html code for that?
Example:
The html code for coloring your text is:
%26lt;font color="[Color code here]"%26gt;TYPE TYPE TYPE.%26lt;/font%26gt;
What is the html code for highlighting text?
%26lt;b%26gt;BOLD%26lt;/b%26gt;
This is another possibility
%26lt;span style='background-color: yellow;'%26gt;YELLOW%26lt;/span%26gt;
You can also use font instead of span but is serves no purpose since there are no font elements in it. Span is basically a container.
Reply:If you want it not the blue-ish colour, but yellow this code works:
%26lt;font class="highlight"%26gt;blah blah blah%26lt;/font%26gt;
Reply:Try something like this:
%26lt;font style="background:red; color:black; "%26gt;Text....%26lt;/font%26gt;
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment