Skip to main content

7. HTML Quotations element

HTML Quotations element <q>


Let's say we have the following text under a paragraph.
<p>I am a “Front End Web Developer”</p>

The right way to do the quotes " is by using the quotation element <q>
<p>I am a <q>Front End Web Developer</q></p>

HTML Quotations element

<blockquote> element quotes a section from another source


This could be a URL address
<p>Here is a quote from WWF's website:</p>
<blockquote cite="https://en.wikipedia.org/wiki/New_York">
New York is a state in the northeastern United States, and is the 27th-most extensive,
fourth-most populous, and seventh-most densely populated U.S. state. New York is bordered by
New Jersey and Pennsylvania to the south and Connecticut, Massachusetts,
and Vermont to the east.</blockquote>

HTML Quotations element

<abbr> Abbreviations elements for search engines


The <abbr> element gives information to the search engines while this is hidden for whoever is reading the web content.
<p>There was a time <abbr title="web developers"> were</abbr> known to be the best.</p>

HTML Quotations element

<address> element


The element simply defines an address
<p> John Depry was the web developer that built the first machine</p>
<address>
Name: John Depry<br>
P.O Box 1234, NY, US<br>
</address>

HTML Quotations element

<cite> element for citing


If you'd like to cite on a text then the right way to do it is by using the <cite> element
<p> A website designed by someone</p> 
<img src="http://website/assets/images/image-1400x933-23.jpg"
alt="website.com" width="204" height="142">

<p><cite>OnlineCourses.Tech</cite> by VD</p>

<bdo> Mirror text


Have you ever wanted to mirror text or to have it written the other way around? If that's the case then you need to use the <bdo> element. For that purpose you'd need to use the dir='rtl' right to left attribute
<bdo dir="rtl">I am a web developer, am I</bdo>

HTML Quotations element

We learned the following HTML elements for quotation and citation
<abbr>Something</abbr>
<address>Something</address>
<bdo>Something</bdo>
<blockquote>Something</blockquote>
<cite>Something</cite>
<q>Something</q>

 

Comments

Popular posts from this blog

Oracle DBA 11g/12c - Database Administration for Junior DBA

Oracle DBA 11g/12c - Database Administration for Junior DBA Learn to become an Oracle Database Administrator (DBA) in 6 weeks and get a well paid job as a Junior DBA What Will I Learn? Final Goal: Get a job as an Oracle Database Administrator (Oracle DBA) As a Oracle Database Administrator (Oracle DBA), you would be able understand the Database Architecture, which will help you to perform your DBA duties with better understanding. As a Oracle Database Administrator (Oracle DBA), you would be able to Install the necessary Oracle Software/Database As a Oracle Database Administrator (Oracle DBA), you would be able to Administer User accounts in the Database As a Oracle Database Administrator (Oracle DBA), you would be able to Manage Tablespace's to provide required space for the data As a Oracle Database Administrator (Oracle DBA), you would be able perform Backup and Recovery as needed. As a Oracle Database Administrator (Oracle DBA), you would be able to diagnose ...

Docker Mastery: The Complete Toolset From a Docker Captain

Docker v17.09 Latest! Build, compose, deploy, and manage Docker containers from development to DevOps based Swarm clusters What Will I Learn? How to use Docker and Compose on your machine for better software building and testing. Build a fancy multi-node Swarm cluster for production deployments! Skills to build advanced development environments with your code running in containers. Update and change your Swarm Services without downtime using rolling updates. Hand's-on with best practices for making files and Compose files like a Pro! Experience using multi-host logging and event monitoring for Docker Swarm. Build and publish your own custom images. Understand the new Windows Containers, and try your hand at ARM Containers. Requirements No paid software required - Just install your favorite text editor and browser! Local admin access to install Docker for Mac/Windows/Linux. Understand terminal or command prompt basics. Li...

Gut Healing Protocol Online Course

Gut Healing Protocol Online Course An 8 Week, Holistic Program For You To Re-balance Your Gut What Will I Learn? Apply an effective gut healing program without missing out on life! Tailor a gut healing program to suit their unique body! Requirements Students should be ready to listen to their body - a very basic understanding of nutrition may help. Description The GHP Online Program with gut-health researcher Kale Brock is a holistic, 8 week kickstarter program for you to rebalance your gut health. By doing so you'll optimise your immune system, digestion & weight management. This comprehensive, gentle, relaxed approach to discovering gut health has seen thousands of individuals achieve abundant energy levels, glowing skin & clarity of mind. Through easy to follow video content with a sound scientific basis, participants are educated on the foundational underpinnings of the gut & microbiome. We delve into the history of antibiotics & their eff...