Using Microformats to Indicate Address

If you run one of the online website analysis websites on your website it may indicate the use of microformats.

So what are they?

Microformats can be used to indicate the address. For example, of the contact us page of a website the address details can be enclosed.

Rather than simply putting the address in place, perhaps wrapped in paragraph tags, something like.

<p>
My Company Ltd.<br />
Apple Tree Road<br />
Reading<br />
Berkshire<br />
England<br />
RG1 1AA<br />
Tel. 0118 496 0000
</p>

The idea is to indicate to search engines the nature of the elements highlighting how the address is composed, region, city, etc.

This is all about adding clarity to the search engines and ensuring that your intent is understood clearly and correctly.

With microformats the ambiguity with regards to addresses and whether a word is a part of the address an be resolved.

For example my local town of Reading. So difficult when searching for related topics as the word doubles as in “reading a book”. There’s also a village in Somerset called Street. Putting the town name, for example Reading, on the page wrapped with microformats ensures clarity.

Here’s a typical address, with company name, address, postcode, country and telephone details.

My Company Ltd.
Apple Tree Road
Reading
Berkshire
England
RG1 1AA
Tel: 0118 496 0000
Fax: 0118 496 0001
Email: info@example.com
Open: 9am to 5pm

And here’s the micro formatting of the address.

<div itemscope itemtype="http://schema.org/Organization">
  <span itemprop="name">My company Ltd.</span>
  Contact Details:
  <div itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
    Main address:
    <span itemprop="streetAddress">Apple Tree Road</span>
    <span itemprop="postalCode">RG1 1AA</span>
    <span itemprop="addressLocality">Reading</span>,
  </div>
  Tel:<span itemprop="telephone">0118 496 0000</span>,
  Fax:<span itemprop="faxNumber">0118 496 0001</span>,
  Email: <span itemprop="email">info@example.com</span>

The Schema website provides the following list of PostalAddress properties:

Property Description
addressCountry This may be either the country name of the two letter code
addressLocality The local region – often a district of a city
addressRegion The wider region – county administration, for example
postOfficeBoxNumber A PO Box number
Postalcode The Associated postcode
streetAddress The street address may be a simple building number and road, but can include building name and more than one row

Also to be considered are the ContactPoint properties which cover the telephone and email address

Property Description
areaServed Useful if you have offices providing different geographic coverage
availableLanguage  Languages supported, the two letter codes are used in this instance.
contactOption  Used to indicate further contact options: a free telephone number or support for hearing-impaired.
contactType  Used to specify the business contact area: sales, support.
email  Email address
faxNumber  Fax number
hoursAvailable  The opening hours whilst the contact is available.
productSupported  If the organisation wishes to highlight that these support details are for a particular product line or area.
telephone  A Telephone number

Looking at the table above it can be seen that the opening hours for the organisation can be wrapped to highlight the timing.

There’s a lot of different properties on the Schema website. Spend some time looking around to find the best match between the type of businesses and the information which you wish to convey.

References

I wanted to use contact details, telephone and email which weren’t genuine or likely to be. In the references I’ve included a link to Ofcom’s numbers for drama. A list of numbers which won’t be assigned, much like the use of example.com for domains and email addresses in documentation.

Schema address

Microformats.org

Ofcom: Numbers for drama

Bootstrap3 Removing Parent Menu onClick

Using the Bootstrap menu clicking on a parent menu item reveals the child items. The parent page isn’t opened in the traditional menu way.

This is by design.

In summary, clicking on the parent menu item shows child menu items as drop down
Hovering over the parent page has no effect.

The result which I wanted was:

Hover over parent menu item to show child menu items in a drop down
Click on parent to change page, showing parent page.

The onclick of the parent menu item causes a drop down to appear and not to move forward to view the parent item

Changes to be made

  • onclick to open parent item
  • hover to show dropdown

To implement the changes I removed the data-toggle attribute and added a hover function emulating the click action but adding the open class.

I added the following to the header.php file of the WordPress child theme.

<script type="text/javascript">
var $vntweb =jQuery.noConflict();
$vntweb(document).ready(function ($vntweb) {
	$vntweb('a').removeAttr( 'data-toggle');
	$vntweb('.dropdown').hover(function() {
	     $vntweb(this).toggleClass('open');
	});
});
</script>

A better place to add this would be an included JavaScript file.

I like to add my own variable $vntweb with a noConflict, rather than simply the use of $. Usually this keeps me out of trouble, avoiding conflicts with other uses of $ as a variable

 

jQuery Scroll to Page Top

For a long web page it can be nice for your visitor to click on an icon and for the page to scroll back to the top.

None of that frantic skipping of the fingers on a small phone screen!

For a web page with lots of content, it may be helpful to your visitors to add a scroll to page top text and/or icon.

This can be implemented using jQuery.

An icon placed at the bottom of the page content, or the end of sections of text, can action a return to page top by calling a simple piece of jQuery.

For a recent project I chose to use one of the glyphicons as my up arrow at the bottom the page.

Here’s the arrow icon in the footer of the page

<a href=”javascript:void(0);” id=”scroll-top” title=”Scroll to Top” style=”display: none;”>
<span class=”glyphicon glyphicon-circle-arrow-up”></span>
</a>

As an addition to this you may wish to keep the icon hidden, showing it only when the page view reaches the bottom.

As can be seen in the above example its hidden initially.

And here’s the jQuery scroll top

$VNTweb(window).scroll(function(){ 
    if ($VNTweb(this).scrollTop() > 100) { 
        $VNTweb('#scroll-top').fadeIn(); 
    } else { 
        $VNTweb('#scroll-top').fadeOut(); 
    }     
    var p=$VNTweb(".puzzle-piece-tile").position();
    if($VNTweb(this).scrollTop() > p.top+100 && !frontpagetileOnce){
        frontpagetile();
    }
}); 
$VNTweb('#scroll-top').click(function(){ 
    $VNTweb("html, body").animate({ scrollTop: 0 }, 600); 
    return false; 
}); 

To avoid conflict I use $VNTweb in my jQuery, declared using:

var $VNTweb = jQuery.noConflict();

As the screen nears the target area the scroll to icon fades into view.

I had looked through the arrow icons available in font awesome but didn’t find what I wanted to use on this occasion. I chose to use one from Glyphicons. I added a reference to the set in the top of the CSS file:

@font-face {font-family: glyphicons;src: url('../fonts/glyphicons-halflings-regular.otf') format('truetype'),url('../fonts/glyphicons-halflings-regular.eot') format('eot'),url('../fonts/glyphicons-halflings-regular.woff') format('woff');}

My CSS for positioning the arrow:

#scroll-top {position:fixed;right:20px;bottom:40px;display:block;z-index:999999;}
#scroll-top span {font-size:48px;color:#fa00ff;text-shadow: 0px 0px 1px #555;-webkit-transition: all 0.5s ease;-moz-transition: all 0.5s ease;-o-transition: all 0.5s ease;-ms-transition: all 0.5s ease;transition: all 0.5s ease;}
#scroll-top span:hover {color:#ffc300;text-shadow: 0px 0px 6px #555;-webkit-transition: all 0.5s ease;-moz-transition: all 0.5s ease;-o-transition: all 0.5s ease;-ms-transition: all 0.5s ease;transition: all 0.5s ease;}

As can be seen I also have a transition to take the suddenness out of its appearance/disappearance.

A jQuery scroll to top, which appears in a fixed place, bottom corner, as the page scrolls down. Clicking on the arrow link smoothly scrolls the page back to the top of the page, avoiding lots of mouse or finger movement on the screen.

Which is Correct <b> or <strong> ?

Using the WordPress editor. When I bold a piece of text the HTML added to wrap it is <strong> … </strong>

When I use the WordPress Android app the HTML used is <b> … </b>

Which is correct to use <strong> or <b>? Does it matter which I use? And in this age of HTML correctness for better SEO ranking is there a difference?

The original interview with Matt Cutts is from 2006. Subsequently some changes in SEO may have occurred.

The gist is that using one or the other shouldn’t make any difference.

But SEO is a moving target and things do change.

There was a time when the new line tag <br> and image <img src=”..”> were accepted. Now single tags must be closed, giving:

<br /> and <img src=”..” />

So do keep aware of the situation.

<b>

The w3 Schools HTML <b> Tag reference simply states that the <b> HTML tag specifies bold text.

The page suggests that this is a tag of last resort. Preference should be given to the <em> tag, the <mark> tag or even the <strong> tag.

Browsers will render the tag as font-weight:bold; Which is different to the implied higher priority <em> tag which is rendered as font-style:italic;

<strong>

w3 Schools has a different emphasis for the HTML <strong> tag. It calls it a phrase tag.

Is there a hint that the tag may become deprecated? Its suggested that better effects can be used with CSS.

It is rendered as font-weight:bold; by browsers.

It also details that back in HTML 4 the tag was used for emphasised text. Now it is important text.

Conclusions

Currently there is no advantage given to the use of either tag <b> or <strong> by Google.

Taking the use of HTML tags in the correct order, as taken from the w3 Schools website <strong> has the greater priority over the use of <b>.

Browsers reference the two tags the same.

References

https://www.searchenginejournal.com/matt-cutts-strong-bold-tags-seo/74073/

http://searchengineland.com/googles-matt-cutts-no-reason-to-fret-over-174713

https://www.youtube.com/watch?v=awto_wCeOJ4

HTML Phrase Tags

Many of the HTML tags are there to provide structure. The purpose is to create the columns and rows of content.

The HTML phrase tags provide enhancement to the content, affecting the rendering.

For a paragraph of text emphasis can be given to particular words, by the use of phrase tags.

Whilst most of the phrase tags present their wrapped content as bold or italics, as per the tags <b>, <i>, <pre>, and <tt>, their use is more than a duplication of other tags. They provide more detail and indication about their wrapped content. Take for example the address tag. This informs the search engine robot about the type of wrapped content.

In HTML, there are tags which are used to perform specific operation. It is somewhat similar to text formatting tags. There are some situation where you would like to highlight some word, add quotation, display code in different form etc. to highlight the text in web page.

A phrase tag is used to indicate that a block of text has structural meaning. For example, using the <abbr> tag indicates that the word or phrase contained within is an abbreviation or acronym.

Below is a table of the HTML phrase tags:

Tag Name HTML Tag Tag Description
Acronym <abbr>..</abbr> Used to show the acronym within the body of text, without disturbing the flow. A popup showing the full text will appear when hovering over the acronym .

For example:

<abbr title=”Do It Yourself”>DIY</abbr> home projects

DIY home projects

Acronym <acronym>..</acronym> Deprecated, see <abbr>
Address Text <address>..</address> Indicates an address within the page. This is an indication to the search engine indexing robots more than to the website visitor.
Computer Code <code>..</code> The text is shown with an old style computer programming effect. It also adds a reassurance that the code is meant to be shown this way and not just genuine page structural code which has escaped to public view.

It is generally rendered by browsers using the monospace font family.

Emphasis <em>..</em> Indicates emphasis, not simply the highlighting of a word or phrase within a sentence. Words which convey a strength of action such as must and will are candidates for wrapping within this tag.
Keyboard Text <kbd>..</kbd> Another of those tags which reflects computer/keyboard entry.
Mark <mark>..</mark> This is used to highlight sections of text. CSS styling will override the default yellow background.

For example:

Tomorrow’s <mark>finance</mark> meeting is at 3pm.

Tomorrow’s finance meeting is at 3pm.

Programming Variables <var>..</var> This is used to highlight variable text in web page.
Sample <samp>..</samp> Another computer code tag. Used to define a section of sample code.
Quoting <blockquote>..</blockquote> This is used to show that the wrapped text has been derived from another website.
There’s a default associated rendering which is often overridden in the style of the website.
Short Quotations <q>..</q> This is used to add double quotes within a paragraph or sentence.
Strong <strong>..</strong> This is used to give importance to the text in web page.
Text Citations <cite>..</cite> Used to show that the reference is a citation. For example
<p>Examples taken from the VNTweb articles<cite>Which is Correct <strong> or <b>?</cite>
Text Direction <bdo>..</bdo> This is used to override text direction in web page.
For example: <bdo dir=”rtl”>Converting the flow to backwards</bdo>Converting the flow to backwards

Use of the different types of phrase tags allows for their styling to be tailored within the website’s CSS files adding the website’s own presentation for each and able to exploit the different types to best effect. For example some websites will pull the block quote out with either one or two large quotation marks.

Why add ALT Text to an Image?

Adding ALT text to a website image is good for SEO, but is that all?

The image alt text is the short phrase that pops up when you hover over an image.

The alt text can also be shown when the image fails to load or download.

The alt text parameter associated with a website image is best known for its SEO requisite. However, it’s also important for Braille, screen readers and in case the image fails to download.

Oh, and if someone is viewing your website with the Lynx web browser.

Reasons to add Image alt Text

To summarise, adding descriptive text to your images is good for:

  • SEO
  • Search engine indexing
  • Braille readers
  • Screen readers
  • Disabled image download

SEO

SEO ranking is acheived through a number of factors. Amongst these is the quality of the underlying HTML code.

SEO includes adherence to the standards defined for website design and build.

Badly written website HTML code can adversely affect a website’s search engine ranking.

Included within badly written HTML code is the omission of the alt text from an image. So yes, not supplying this text can impact on your website.

Good alt text may also be used in promoting the web page and the image on the search image results. The text may help to have your image shown on the Google search results, image listing.

Search Engine Indexing

The search engine robots, crawling the Internet, are not able to interpret an image, understanding how you perceive it to be used.

For example, you have included a picture of a building on a web page. The alt text may be used to clarify its context. Perhaps you provided the interior design; your company is based here; as an architect it interests you; or maybe it’s simply a lovely building which inspires you.

Adding alt text to the image will clarify, to the search engine robot the context in which you are using the image.

Otherwise the only available reference info is the file name, and dependent upon the context within the surrounding text.

Screen Readers

A screen reader will convert the text on a web page to synthesised speech, or braille, allowing those with limited sight to browse the Internet, hearing the content of web pages.

Screen readers operate by converting the text content of a web page to either speech or braille. The text content for conversion includes not only the visible sentences of text but some of the underlying code to. To best understand a web page’s content a screen reader will handle elements such as tables and images by cleverly giving more information such as highlighting the table headers.

A screen reader will work best where the underlying HTML code is correctly structured. Making use of the less visible parameters such as the image alt text.

Simply having an image with no description, or the original camera file name won’t be of help.

Image Download Disabled

Disabling image download is the correct setting for best security, when configuring an email client.

Although not a page on your website it does illustrate the importance of adding a descriptive text to your images.

Why add alt Tex to an Image: Lynx Browser

A basic editor, such as Lynx doesn’t handle images. A useful tool if your desktop windowing system has crashed, or you are accessing via a terminal session.

Adding the alt Text

It’s really easy to add the alt text associated with an image.

The common CMSs all offer an easy option to add the descriptive text to the images.

For example WordPress, when editing an image in the media pages or on a page or post offers the alt text as a text box to be completed when editing an image. As shown in the image below.

Image alt Text WordPress Attachment Details

The WordPress CMS offers the appropriate text fields, when editing an image. Other CMSs do likewise.

If you are interested in how it’s implemented in HTML. It’s simply the addition of the parameter alt, as shown in the simplified version below, of the phone box image:

<img  src=”http://www.vntweb.co.uk/image-alt-text-wordpress-attachment-details.png” alt=”Image alt Text WordPress Attachment Details” />

Further Reading

For more information about why you should add alt text to your website images there’s a wikipedia screen reader article and RNIB has info about assistive technology, also read about the BBC’s view on accessability of their website with screen readers and WebAIM has details about designing for screen reader compatibility

Bootstrap3 One and a Half Offset

With 3 1/3 width columns, col-md-3, to be centred within a bootstrap3 col-md-12 I was looking at adding an offset at the left something similar to col-md-offset-1.

Centring 3 Bootstrap3 col-md-3 divs within a row requires an offset which is 1.5 times a single column width. ie. two of these widths, one each side, but we don’t need the one at the right end as we are using an offset.

The situation: for a website footer I was including a widget area which I wished to have 3 columns of links and corporate references.

To give a better looking footer I was looking to have larger side margins and use the bootstrap col-md-3 for each of the columns.

However, the one and a half width doesn’t exist in Bootstrap.

As a percentage this is 100% * 1.5/12 = 12.5%.

Looking at the percentage width assigned to a single width column this is given as 8.33333333%.

Working from the single column width to 1.5 times gives a width of 12.499999995%.

I looked at the other column widths to see a consistent under valuing of the percentage.

I chose to use this width as it gives a small space between the columns, and less chance of the widths summing up to cause the floats to drop onto the next line.

With the 12.499999995% width I created a new offset specific to the larger width devices of col-md-offset-1-half.
thus giving

@media (min-width: 992px) {
   .col-md-offset-1-half { margin-left: 12.499999995%;}
}

I was unable to add the offset within the layout, it being a series of WordPress widgets. As I was managing the content I made the assumption that all 3 widget areas would be occupied.

So having created the above additional column and handled the responsive offsets, whilst writing this I was considering my original implementation decisions.

I found it easier to add this offset to the first element

@media (min-width: 992px) {
   .footer .widget:first-child{margin-left: 12.499999995%;}    
}

I could increase the left margin to get the desired insert.

For smaller width screens the insert can be appropriately reduced, if desired.

Based on this view I returned to my work to redesign it using row padding rather than affecting the column offset.

I had investigated the idea of creating a one-and-a-half offset for use in centring 3 columns in a bootstrap3 row. However, as I was unable to edit the particular row layout chose to add a margin to the first child element, when viewed on larger devices.

Linking to Another Website

Sooner or later you will want to create a link to another website. Perhaps an event, trade association or a customer’s website.

It’s easy to forget that links can also be internal within your own website. Written a blog article a few months ago and now writing an associated article? Why not add a link? After all it’s good for SEO and it may keep visitors on your website longer.

A little background can improve how you create links and correct those that don’t link properly, or perhaps don’t encompass all of the words.

Don’t just say “click here“. The best text links are contextual letting the visitor know why they should follow.

When it comes to adding links to your page or blog post, fortunately most CMSs such WordPress and Joomla hide the complicated bits.

The CMS editors are much alike, particularly for the the generic font styling, colours and actions like linking.

Linking to another website WordPress editor add link

In the example shown above I’ve chosen to use the WordPress editor to edit a blog post, adding a link to the WordPress website.

I began by highlighting the word WordPress. Clicking on the link icon on the top row popped up the link editor dialogue. This is first shown in its simplified form. Allowing the website address to be easily copied or typed in and accepted.

A link need not only point to another HTML web page, some of the possibilities are: an image; a sound file; a text document.

Why should I care about the technical?

Occasionally the editor will get it wrong, or you realise that you have missed a word from your link text.

Do you remove the link and start again, or do you flip the editor into HTML mode and move the closing tag </a> along a word?

HTML – The technicals

A link is made using the a (link) tag and the href attribute. A link tag looks like:

<a href=”http://www.vntweb.co.uk/contact-us/”>VNTweb: Contact us</a>

As can be seen it is a two part tag, wrapping the item which is to be used as the reference. The attribute href is used to define the link, in this case to the website vntweb.co.uk and the page contact us. The text which will be seen on the screen is VNTweb: Contact us. Here’s our constructed link:

VNTweb: Contact us

Here’s our example sentence, where the word us is outside of the link:

For more information about VNTweb<a href=”http://www.vntweb.co.uk/contact-us/”>Contact</a>us  today!

Knowing that the link is a two part tag, its easy to see that the ending </a> is wrongly located. and just needs moving along a little.

For more information about VNTweb<a href=”http://www.vntweb.co.uk/contact-us/”>Contact us</a>  today!

The target attribute may be used to define what happens when the link is clicked.

  • target=_blank will open a new browser window, leaving the original page open.
  • target=_self will open the link in the current browser window.

<a href=”http://www.vntweb.co.uk/contact-us/” target=”_blank”>VNTweb: Contact us</a>

Shown below are the two types of link:

The Contact us page (self)
The Contact us page (blank)

Using the target to open the link in a new window is particularly useful. With a simple link your website visitor will follow the link and is gone!! Possibly never to visit your site again, perhaps they happened upon your site by chance and can’t remember it’s address. With the link opening in a fresh tab, or window, your site is kept open. Once their journey has been completed your website is waiting for their return and to pick up from where they were.

It is also possible to link to an anchor point within a web page.

Rather than send a visitor to a page and leave them to find the content somewhere within the page, be helpful, take them to the section on the page. Nothing worse than following a link to a page and not finding wheat you are looking for.

A page with a multiple sections can have an anchor added at the start of each section.For our example this page, referencing the HTML technicals section.

To do this we need to first create an anchor point <a name=”htmltechnicals”>:

Now amend our website link to incorporate this additional information. The link from our previous example becomes:

<a href=”https://www.vntweb.co.uk/linking-to-another-website#htmltechnicals”>HTML Technicals</a>

This will now link to the HTML technicals title above.

Link to technicals

A common error, and so easy to miss, is the http:// from the front of the link.

Links can also be created to documents and images as well as links to websites and web pages.

To link to a document include the directory path on the website server. For example if the Christmas menu is in the docs directory the link could be:

<a href=”http://www.vntweb.co.uk/docs/menu-christmas-2017.pdf”>Christmas menu</a>

Links are also used to open the email client on the computer, and more recently enable a mobile phone to dial a number shown in a link.

  • Document: <a href=”http://www.vntweb.co.uk/docs/menu-christmas-2017.pdf”>Christmas menu</a>
  • Email mail to <a href=”mailto:sales@example.com”>email us</a>
  • Telephone <a href=”tel:01234-456-789″>01234 456 789</a>

The email mailto option has been used for many years to pop a new email within the client email package. There are options to set the title and content, helping to future the details of the created email.

Mobile phones can make use of the tel: link. If you are adding your business telephone number to the page then if you create it as a link mobile phones can ring the number when clicked.

SEO

For best SEO consideration of your link don’t simply use the old phrase click here. It doesn’t tell the search engines the context of the link. Be more imaginative inform your website visitor why they should click. Include a part the link title within the wording.

If you don’t wish to give the linked website any value consider using the nofollow parameter. Each page has potential energy to be transferred to another website, shows across all of its links. To block the floor to a given linked website add the motor parameter, as in the example below:

<a href=”http://www.vntweb.co.uk/contact-us/” rel=”nofollow”>contact us</a>

There’s a title attribute which you may also wish to use. It will clarify the purpose of the link.

Links made within your website to another internal page add value. After all if the page was that good and you wish to reference it!

Layer Flash Below HTML DIV sub-menu

Historically a flash video on a website, for example a custom website presentation or a YouTube video, would always sit above anything else on the page.

Recently I was investigating the positioning of a menu drop down hiding below a YouTube flash video.

Increasing the CSS z-index value for the sub-menu was making no difference, it was positioning below  the flash video.

In practice the layering of individual web page items the flash object is rendered last, the top most element.

Most annoying to see a drop down menu disappear below the flash video.

Reading on the Internet for a solution to this I saw suggestions regards JavaScript and jQuery.

However, I was looking for a fix for the flash positioning which could be reasonably repeated.

Changes could be made globally, for example via CSS, or with a generic piece of JQuery/JavaScript code.

Thinking of my customers. I wanted the addition of the flash embedding code to the website to be simple and easy. Preferably via the CMS’s editor, with a simple understandable tweak.

Nothing too complicated, the simpler the instructions the better.

I found an article on Stack Overflow which suggested the use of two parameters, one added to the flash file reference and one as a parameter.

This seemed like a good option. It’s clear where the changes are to be made and easy to do.

To correct the way browsers display flash players above all other page content the parameter wmode is added twice.

  • once at the end of the YouTube file reference
  • once as a separate parameter

Here’s my example modified YouTube flash reference, with the extras in bold:

<iframe width=”560″ height=”315″ frameborder=”0″ src=”https://www.youtube.com/embed/4fekwVhg2sw?wmode=transparentwmode=”opaque”></iframe>

The article referenced is

http://stackoverflow.com/questions/9074365/youtube-video-embedded-via-iframe-ignoring-z-index

Which Image Format to Use: gif, jpg or png?

Each of the three image formats: GIF, JPG and PNG, have their merits and are best suited to different intents.

Differences are related to the transparency or alpha channel, the number of colours in the palette and the compression efficiency.

GIF Images

GIF images are limited to 256 colours. This limited colour palette may cause poor rendering of subtle colour changes.

GIF images should be used for line drawings, where less than 256 colours will be required.

Use GIF images where text is in the image, JPG images don’t tend to render sharp colour contrasts as well, the edges becoming blurred.

JPG Images

JPG images have a colour palette of more than 16 million colours. JPG images use a compression algorithm to reduce the file size.

JPG typically render an image well, but for a website graphic, perhaps text on a plain background distortions are apparent where the text transitions to the flat background.

JPG images should be used for photographic images and other images where the change in colour is continuous, without sharp edges.

When saving a JPG image consider whether the quality maybe reduced without visible deterioration. This will provide for a smaller file size with faster downloading.

PNG Images

PNG was introduced as a an alternative image format given the patent/license restrictions of JPG and GIF formats.

The PNG format combines features from both of the other two formats.

The PNG format is patent free, although this is now less relevant than it was, the patents on the GIF and JPG formats now having expired.

Note Internet Explorer 6 does not render the Alpha layer transparencies of the PNG format correctly. It is only able to cope with a simple on/off state for the transparency setting.

Unlike GIF images, PNG doesn’t support moving images.

Image Quality

If possible reduce the quality of the image. A reduction to 90% can significantly reduce the size of the saved file, improving the responsiveness of the website and making it better for mobile devices.

When reducing the quality look for blotching and pixelation of the result. This indicates that you have reduced too far.