Aspect Ratios of Hand-Held Devices
When designing websites that will be displayed on iPhones and iPads, keep in mind aspect ratio — the ratio of the width to the height of an image or video. Aspect ratio is particularly important when you’re working with video. A standard TV displays video in 4:3 aspect ratio (or 1:1.33) — the nearly square format that generations of boob tube addicts know and love.
Basically, for every 4 pixels across, 3 pixels are down, so the standard-definition TV screen resolution is 640 x 480. Recently, HDTV has caused a move to the 16:9 aspect ratio (or 1:1.85), also referred to as widescreen, and a common resolution is 1280 x 720.
The aspect ratio of the iPhone is 3:2 (or 1:1.5), which isn’t even standard. The iPad is 4:3, just like a traditional television signal. To display a widescreen or HD image, both the iPhone and the iPad use the letterboxing technique, which places thin, black bars above and below the image.
In the figure, you see the effect of letterboxing when a video is played on a screen that does not fit the aspect ratio. Black bars appear at the top and bottom of this training video by author Janine Warner because the video does not fit the aspect ratio of the screen.
On the iPhone, when viewing a standard 4:3 video, you can tap to expand the image to fill the space vertically — but all it does is snip off the edges on either side. If you’re working with still images that are dramatically cropped (such as in a panoramic landscape), users either will see a lot of blank space on the screen or have to scroll a lot.

Web Design & Development Glossary
AJAX
asynchronous JavaScript and XML. A technique used in web page development.

Web Design & Development Glossary
API
application programming interface. A set of rules programs use to communicate with each other.

Web Design & Development Glossary
color stop
A special element that indicates a color to be added to a gradient.

Web Design & Development Glossary
FTP
File Transfer Protocol. A network protocol useful for transferring files in a client-server relationship.

Web Design & Development Glossary
HTML
HyperText Markup Language. The predominant language for building web pages.

Web Design & Development Glossary
HTTP
HyperText Transfer Protocol. The primary networking language for the Internet.

Web Design & Development Glossary
PHP
PHP Hypertext Processor. A scripting language that works well within HTML.

Web Design & Development Glossary
socket
A technology that allows remote computers to maintain a persistent connection in order to communicate with each other.

Web Design & Development Glossary
sprite
An graphic object on a web page that will be manipulated in real time.

Web Design & Development Glossary
SQL
Structured Query Language. A programming language useful in managing relational databases.

Web Design & Development Glossary
stateless protocol
An Internet procedure that completely breaks the connection between the client and the server after a transaction, meaning that the next transaction will require an entirely new connection.

Web Design & Development Glossary
Telnet
A network protocol useful in interactive, text-oriented communications.

Web Design & Development Glossary
W3C
World Wide Web Consortium. The organization that sets international standards for the World Wide Web.