Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Correct Semantic tag for copyright info - html5

What would be the best and most semantic tag/method for including a copyright notice in the footer of a web site?

like image 504
David Avatar asked May 03 '11 21:05

David


People also ask

What is the most semantically correct markup for copyright HTML?

Conclusion. The HTML copyright symbol is represented by © or ©. You can use this code to embed the copyright symbol onto a web page if this character is not represented on your keyboard. Do you want to learn more about HTML and how to become a web developer?

In which of the HTML5 semantic elements would you put your copyright information?

A <footer> element should contain information about its containing element. A footer typically contains the author of the document, copyright information, links to terms of use, contact information, etc.

What are the semantic tags in HTML5?

Semantic HTML elements are those that clearly describe their meaning in a human- and machine-readable way. Elements such as <header> , <footer> and <article> are all considered semantic because they accurately describe the purpose of the element and the type of content that is inside them.

Which semantic elements are used by HTML5 in webpages?

Semantic HTML Page Layoutheader , main , and footer tags are semantic because they are used to represent different sections on an HTML page. These are more descriptive than div tags which make partitioning webpages into tangible sections difficult.


2 Answers

Put it inside your <footer> by all means, but the most fitting element is the small element.

The HTML5 spec for this says:

Small print typically features disclaimers, caveats, legal restrictions, or copyrights. Small print is also sometimes used for attribution, or for satisfying licensing requirements.

like image 194
Alohci Avatar answered Sep 23 '22 13:09

Alohci


it is better to include it in a <small> tag The HTML <small> tag is used for specifying small print.

Small print (also referred to as "fine print" or "mouseprint") usually refers to the part of a document that contains disclaimers, caveats, or legal restrictions, such as copyrights. And this tag is supported in all major browsers.

<footer>  <small>&copy; Copyright 2058, Example Corporation</small> </footer> 
like image 42
Rami Sarieddine Avatar answered Sep 21 '22 13:09

Rami Sarieddine