Use some CSS in a span tag.
var tiptitle = "cheeseburger";
document.write('<span style="color:green; font-size: 30px">'+tiptitle+'</span>')
More Related Contents:
- How to fix a JQuery error [closed]
- console.log() async or sync?
- Event on a disabled input
- Run JavaScript code on window close or page refresh?
- Create table using Javascript
- `string.replace` weird behavior when using dollar sign ($) as replacement
- Using Fetch API to Access JSON
- d3 add text to circle
- Open page in new window without popup blocking
- How to find the unicode of the subscript alphabet?
- NavigationDuplicated Navigating to current location (“/search”) is not allowed
- Save images to hard disk WITHOUT prompt?
- delay JQuery effects
- Prevent Address-Bar hiding in mobile Browsers
- pdf file upload ajax html
- rotate a .gif image on google maps api v3?
- How to change FontSize By JavaScript?
- How to find the sum of all numbers between 1 and N using JavaScript
- How to change mock implementation on a per single test basis?
- Bootstrap modal: background jumps to top on toggle
- How to define the css :hover state in a jQuery selector?
- Javascript multiple dynamic addEventListener created in for loop – passing parameters not working
- Why is it suggested to avoid .innerHTML?
- Override styles in a shadow-root element
- Work with a time span in Javascript
- Chrome debugging – break on next click event
- JavaScript function with ‘undefined’ parameter [duplicate]
- Reload an IFRAME without adding to the history
- Record voice from IPhone using HTML5
- window.event.keyCode how to do it on Firefox? [duplicate]