pub struct Dd;Expand description
The <dd> element - description details.
§Purpose
The <dd> element represents the description, definition, or value part of a
term-description group in a description list (<dl>). It provides details for
the term specified by the preceding <dt> element(s).
§Content Categories
- None (only valid as child of
<dl>or<div>within<dl>)
§Permitted Content Model
- Flow content
§Common Use Cases
- Definition in a glossary
- Property value in metadata
- Answer in FAQ
- Value in key-value pairs
§Key Attributes
- Global attributes only
§Example
<dl>
<dt>HTTP</dt>
<dd>HyperText Transfer Protocol - the foundation of data
communication for the World Wide Web.</dd>
<dt>Status</dt>
<dd>Active</dd>
<dt>Author</dt>
<dt>Contributor</dt>
<dd>Jane Smith</dd>
<dd>John Doe</dd>
</dl>§WHATWG Specification
Trait Implementations§
Source§impl HtmlElement for Dd
impl HtmlElement for Dd
impl CanContain<Dd> for Dl
impl<T: FlowContent> CanContain<T> for Dd
impl CanContain<Text> for Dd
Auto Trait Implementations§
impl Freeze for Dd
impl RefUnwindSafe for Dd
impl Send for Dd
impl Sync for Dd
impl Unpin for Dd
impl UnwindSafe for Dd
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more