wbr

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Package wbr provides constructors and methods for the HTML <wbr> element.

The <wbr> HTML element represents a word break opportunity -a position within text where the browser may optionally break a line, though its line-breaking rules would not otherwise create a break at that location.

Index

Constants

This section is empty.

Variables

View Source
var (
	TagOpen = []byte("<wbr")
)

Byte constants for HTML rendering.

Functions

func New

func New() *element

New creates a new wbr element without any initial attributes. Example: wbr.New() Renders: <wbr />

Types

type Element

type Element = element

Element is an exported alias for the private element type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL