cite attribute: del cite, ins cite
The cite attribute on the del element:
- allows you add the URL of a resource that explains why the content has been marked as removed (deleted)
- a valid URL is required
- cite is a specific attribute → can be applied ONLY on the next HTML5 elements: blockquote, del, ins, q
The cite attribute on the ins element:
- allows you add the URL of a resource that explains why the content has been marked as inserted
Examples
<del | attribute | = | "value(s)" | > | ... | <⁄del> | Examples |
---|---|---|---|---|---|---|---|
1. | cite | = | URL | <cite="filex.php"> ... <⁄ > <cite="filex.php"> ... <⁄ > |
Video demonstration del, ins tags: cite attribute
HTML5 cite attribute on del, ins Tutorial
min | video details |
---|---|
00:05 | video tutorial: cite attribute on del and ins elements |
00:09 | cite attribute holds the URL of a resource that explains why the content has been marked as deleted (del) or inserted (ins) |
00:15 | example: adding the cite attribute to del element |
00:18 | the URL of the resource that explains why 'twice' has ben marked as deleted |
00:29 | example: adding the cite attribute to ins element |
00:30 | if the same resource (= file.php) explains why 'once' has been marked as inserted, then you can copu/paste teh cite attribute with its value on ins element, otherwise change the resource: e.g. file2.php in our case |
00:41 | this resource introduced through cite attribute is for private use and not for your visitors; does not dispaly in browser |