pub struct H5;Expand description
The <h5> element - level 5 heading.
§Purpose
The <h5> element represents a fifth-level heading, used for subsections
within <h4> sections. Part of the hierarchical heading structure.
§Content Categories
- Flow Content
- Heading Content
- Palpable Content
§Permitted Content Model
- Phrasing content
§Common Use Cases
- Deep subsection headings
- Detailed documentation sections
- Complex hierarchical content
§Key Attributes
- Global attributes only
§Example
<h4>Array Methods</h4>
<h5>Mutating Methods</h5>
<p>Methods that modify the original array...</p>
<h5>Non-Mutating Methods</h5>
<p>Methods that return a new array...</p>§Accessibility
- Rarely needed in typical documents
- Maintains document outline
- Use only when deep hierarchy is needed
§WHATWG Specification
Trait Implementations§
Source§impl HtmlElement for H5
impl HtmlElement for H5
impl CanContain<H5> for Hgroup
impl<T: PhrasingContent> CanContain<T> for H5
impl CanContain<Text> for H5
impl FlowContent for H5
impl HeadingContent for H5
impl PalpableContent for H5
Auto Trait Implementations§
impl Freeze for H5
impl RefUnwindSafe for H5
impl Send for H5
impl Sync for H5
impl Unpin for H5
impl UnwindSafe for H5
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