you need to put the style attribute in a tag. The style tag is used for defining styles in a style block. The most useful for tag for you to apply the style to is span though you could use any in theory. try this
<span style="font-weight:bold">hello</span> how are you
or alternaitevly you could use a class
<span class="header">hello</span> how are you
and then define your class in a style block or external css like this
<style>
.header{font-weight:bold}
</style>
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.