Usually when you add a header tag in iWeb using a textbox you would enter;
<h1>HEADER</h1>
Sometimes it may appear in black text in a different font than what is used by the iWeb theme. You can customize the look of a header tag using code such as;
<h1 style="font-family:Arial;font-size:20px;color:blue">HEADER</h1>
Replacing the values with the font styling you want. Make sure your code is formatted exactly as shown above, any errors in your formatting will result in the code not working correctly and the header text defaulting back to its original style.
The way the above code works is by using cascading style sheets (CSS). The 'style' attribute of the h1 tag (or h2-h6 tag) determine how the header should be styled. The format is;
css-attribute:css-value;
So the above tag has the following css attributes;
font-family:Arial;
font-size:20px;
color:blue
You can use any number of CSS styling attributes including these CSS Styling attributes.
- 233 användare blev hjälpta av detta svar
Relaterade artiklar
Does iWeb SEO Tool work on Mavericks (OS X 10.9)?
Yes, but you will need the latest version. If you are using the free 1.x version it will not work...
Do I have to re-enter all settings each time I publish my website in iWeb?
iWeb overwrites all files when updating a website. That means your title tags, meta tags and...
What is the difference between Apply and Publish?
When you are editing a local website you must press the Apply button after editing each page....
I don't see my meta tags on my iWeb website after publishing with iWeb SEO Tool.
There are a few reasons why you won't see meta data on your site;1) You republished your website...
I added title and meta tags but they don't appear when I do a Google search.
When you add title tags and meta tags it takes time for Google to update their search index. It...
