Friday, May 17, 2024
HomeCSSThe cite factor | Michael Gearon

The cite factor | Michael Gearon


A quotation is a citation from or reference to a e-book, paper, or creator, we will use the <cite> HTML factor to outline title of a cited artistic work. The factor doesn’t have any distinctive attributes. It helps the International Attributes in HTML.

Find out how to use the cite factor

The cite factor tends to reference the title of the work, it will possibly additionally include the creator of the work however that is non-compulsory and relying on who to talk to shouldn’t be really helpful. You are likely to see a mixture of utilizing each the cite factor and the blockquote factor because the blockquote is used to cite a reference or a supply and the cite factor then defines the place that supply got here from. You may additionally use the <a> factor to hyperlink to that supply.

By the default the cite factor has little to no styling from the browser, when making use of styling to the cite factor it’s possible you’ll daring or italicise the content material to make the supply stand out towards the remainder of the content material. The factor is supported by all main browsers.

<determine>
  <blockquote>
    <p>Within the 90s, the online was stuffed with 15-page specs, all in a single file. You scrolled by these large paperwork identical to you paged by an encyclopedia</p>
  </blockquote>
  <figcaption>
    <cite><a href="https://www.oreilly.com/library/view/what-is-html5/9781449315009/">What's HTML5?</a></cite> by Brett McLaughlin (Half 1, Chapter 1).
  </figcaption>
</determine>

On this instance we’ve contained the blockquote and the quotation in a determine factor, because it’s a self-contained piece of content material. We then have a blockquote that’s taken from the e-book “What’s HTML5?” and utilizing the figcaption HTML factor we then have outlined the caption. The quotation comprises a hyperlink to the e-book, the title of the e-book, and out of doors of the quotation we’ve the creator and placement of the quote.

Extra HTML guides

Michael Gearon

Written by

Michael Gearon

Michael Gearon is a Senior Interplay Designer at Authorities Digital Service (GDS) in Cardiff. Michael Gearon is among the authors of The Tiny CSS Tasks e-book, printed by Manning Publications. Beforehand Mike was a product designer on the GoCo Group together with GoCompare, MyVoucherCodes and WeFlip. As effectively working for manufacturers in South Wales like BrandContent and HEOR.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments