Friday 19 May 2017

The 10 HTML Codes You Need to Know for Writing on the Web

The computer keyboard creates “dumb” punctuation marks that may not be acceptable in printed work but are common on web pages. It outputs straight quotation marks (") while your writing may require curly quotes. You can only type hyphens using the keyboard while an em or en dash may have made your text look more elegant and professional.




HTML CODES FOR PUNCTUATION

Your keyboard lacks the keys for inserting the correct punctuation marks but there are simple HTML character codes, on entities, that you can use to mimic the typography of printed books on the web. Here’s a quick guide to using HTML codes for inserting typographically-correct punctuation marks in web writing.

HYPHENS (-)

Hyphens, or half-dashes, are most commonly used to join together two or more words. You can type a hyphen directly without using any HTML codes.

* The next-generation iPhone is expected to become available in mid-September.

* The word email contains no hyphen but there’s one inside e-books and e-commerce


DASHES (– —)

Dashes come in two sizes: the En dash (–) and the Em dash (—). The En dash is longer than a hyphen but shorten than an Em dash.

The En dash (–) is used for suggesting a range of numbers such as time periods, sports scores or page ranges.

*Our bank is open 8a.m.–8p.m., Monday–Friday.

*The players are disappointed after losing the match 3–1 to Spain.

* Abraham Lincoln (1809–1865) was the 16th President of the United States.

The Em dash (—) is used to indicate breaks or pauses in a sentence, to quote sources or to separate a series of words within a phrase.

* We plan to visit London this summer — if the visa is approved.

* My three friends — John, Peter and Richards — are moving to New York.

* “Well done is better than well said.” — Benjamin Franklin.


ELLIPSIS (…)

An ellipsis (…) is a series of three dots (periods) and two spaces in a row and they are used to indicate omission of one or more words in the quoted material. If the ellipses follow a complete sentence, end that sentence with a period, insert a space, then the ellipsis (…) followed by a space.

* “All the world’s a stage, and all the men and women merely players.…” — Shakespeare

* “I have a dream … they will not be judged by the color of their skin but by the content of their character.” — Martin Luther King, Jr


QUOTES & APOSTROPHES (‘ ’ “ ”)

Your computer keyboard creates straight quotes (or dumb quotes) though what you really need to use are smart quotes (or curly quotes) that can be easily written in HTML. The dumb quotes are best used for writing programming code.

Use double quotation marks (“ and ”) to identify the exact words of a person, to indicate irony or for writing titles of creative works.

* The last episode of “Friends” was the most-watched program of the year.

* Thoreau said that “that government is the best which governs the least”.

* They recalled the “toy safety” buttons as they were contained lead paint.

Use single quotes (‘ and ’) to indicate quotes within quotes. The right curly quotation mark (’) can also be used for smart apostrophe instead of the straight apostrophe.

* John said, “I told her, ‘the traffic will only get worse.’”

* Her answer was, “I’ll call you in the next hour or so.”


PRIME (′ ″)

While we often use apostrophe (') or quotation marks to indicate units of measurement (like feet or seconds or degrees), the correct symbol is Prime that are likely slightly slanted quotes written as ′ (single) and ″ (double).

* The height of this Ferrari car is 47′8″
* I am currently at 27° 11′ 45.315″N, 78° 1′ 27.1668″ W.


WEB TYPOGRAPHY: FURTHER READING & RESOURCES

Punctuation MarkSymbolHTML EntityCode Decimal
Apostrophe’’
En dash––
Em dash——
Ellipsis……
Single Quote (open)‘‘
Single Quote (close)’’
Double Quote (open)““
Double Quote (close)””

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Labels

404 AdBlock Add-on Airtel GPRS Trick Airtel SMS Trick Alexa Amazon Amazon Kindle Amazon Prime Android Android 8 Android Oreo antivirus Apple Apple Mac ASCII Audacity Audio Authotkey Backup Balance Transfer in Vodafone Battery Bing Blogger Blogging Bookmarklet Browser Camera Chromebook clock Cloud colors command lines Computer Computer Tricks configuration Contact Creative Commons Credit Card CSS devolop DIY Doodle DOS Download Dropbox E-Mail eBook Email Email Attachment Embed Encryption English Error Evernote Eyes Facebook Facebook Tricks Feedburner Flipkart Font Foursquare Free Internet Free sms trick in Vodafone G Mail Gadget Game Getty Images GIF Gists Github Google Google AdSense Google Analytics Google Apps Google Chrome Google Contacts Google Currents Google DNS Google Docs Google Drive Google Earth Google Font Google Forms Google Images Google Map Google Photos Google Play Store Google Plus Google Print Google Reader Google Script Google Sheets Google Spreadsheet Google Translate GPRS Setting GPS Hacking Health App HelloFax Hindi Hoodie HTML Icons idea Image Editing Images IMEI Indian Railways Infographics Instagram Internet Internet Explorer Internet Tricks iOS iPad iPhone IRCTC iTunes iTV JavaScript JioCinema JioTV Junglee Kindle Language Translation Laptop Laptop. TV Life Time FREE GPRS Life-Style Link Linkedln Linux logo Make Money Online Microdoft Powerpoint Microdoft Word Microsoft Office Microsoft Outlook Mobile Mosaic Music Name Networking nexus Notepad OCR Online Shopping Open DNS OS Outlook Password PDF Petya Phillips Hue Lights Photogtraphy Pixel Play Station Podcasts Pokemon Pokemon Go Polls Print Productivity Proxy Server Pushbullet QR Code Ransomware Reddit Reliance Hack GPRS Reliance Jio RGB Ringtone Router RSS Safe Mode Samsung Galaxy S Scrabble Screen Capture Screen Sharing Screencast Secrets Security Send free sms from PC SEO Sierra Skype Slideshare SMBv1 SMS Snapchat Snapdeal Social Media Solution Sound Device Speech Recognition Sql Steam Sync Synology NAS Tata Docomo GPRS trick Teleprompter Torrent Trick Tricks TV Twitter UltraISO Unicode Unknown Extension Unlimited 2GB Unlimited 3GB Unlimited GPRS USB USB Security Key Video Editing virtual desktop Virus attack VLC Vodafone 110% working trick for GPRS Vodafone 3g Vodafone GPRS VPN wallpapers WannaCry Web Design Web Domain Website Wget Whatsapp WiFi Wikipedia Windows Windows 10 Windows 10 S Windows KN Windows Tricks windows updates Winows N Wolfarm Alpha WordPress XBox YouTube Zip
Twitter Delicious Facebook Digg Stumbleupon Favorites More