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

Data Science, Deep Learning, & Machine Learning with Python

Deep Learning, Data Science, & Machine Learning with Python Go hands-on with the latest neural network, artificial intelligence,deep learning and data science techniques employers are seeking! What Will I Learn? Develop using iPython notebooks Understand statistical measures such as standard deviation Visualize data distributions, probability mass functions, and probability density functions Visualize data with matplotlib Use covariance and correlation metrics Apply conditional probability for finding correlated features Use Bayes' Theorem to identify false positives Make predictions using linear regression, polynomial regression, and multivariate regression Understand complex multi-level models Use train/test and K-Fold cross validation to choose the right model Build a spam classifier using Naive Bayes Use decision trees to predict hiring decisions Cluster data using K-Means clustering and Support Vector Machines (SVM) Build a movie r...

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 ...

Bootstrap 4 From Scratch With 5 Projects

Bootstrap 4 From Scratch With 5 Projects Master the latest version of Bootstrap (4.0.0 Beta) and build 5 real world themes while learning HTML5 semantics & CSS3 What Will I Learn? Learn and create amazing high quality Bootstrap 4 themes and UIs from scratch Learn the Bootstrap 4 utilities, classes, components & JS widgets using a custom sandbox environment Create a professional workflow & dev server to build from source and compile Sass Requirements You should have basic knowledge of HTML & CSS You do NOT need to know any Bootstrap 3 Description This course will literally take you from knowing nothing about Bootstrap 3 or 4 to learning all of the utilities, components, widgets and grids and building real world themes and websites. You do NOT need to know Bootstrap 3 for this course. Even if you already know Bootstrap 4, skip the learning sections and head right for section 6 to create the custom workflow and start the projec...