# Elementname: `U`

CSS name: u

## Description

Underline text.

Allowed attributes: class, dashed, id

Child elements: A, Action, B, Br, Color, Fontface, ForAll, Frame, HSpace, I, Image, Loop, NoBreak, Span, Sub, Sup, Switch, U, URL, Value

Parent elements: B, Case, Color, Fontface, ForAll, I, Li, Loop, NoBreak, Otherwise, Paragraph, Span, U, URL, Until, While

### Attributes

class (text, optional)

  CSS class for this element.

dashed (optional, CSS property: border-style, since version 2.3.61)

  Use a dashed rule instead of a solid rule.

  yes: | Draw a dashed rule.
  no: | Draw a solid rule.

id (text, optional)

  CSS id for this element.

### Remarks

Currently doesn't work with margin protrusion.

## Example

            <Record element="data">
      <PlaceObject>
        <Textblock>
          <Paragraph>
            <U><Value>Underlined text</Value></U>
          </Paragraph>
        </Textblock>
      </PlaceObject>
    </Record>

## See also

B I Paragraph

# Commands

- A
- Action
- AddSearchpath
- AtPageCreation
- AtPageShipout
- AttachFile
- Attribute
- B
- Barcode
- Bold
- BoldItalic
- Bookmark
- Box
- Br
- Case
- Circle
- Color
- Column
- Columns
- Compatibility
- Contents
- Copy-of
- DefineColor
- DefineColorprofile
- DefineFontalias
- DefineFontfamily
- DefineTextformat
- Element
- Fontface
- ForAll
- Frame
- Grid
- Group
- Groupcontents
- HSpace
- Hyphenation
- I
- Image
- Include
- Initial
- InsertPages
- Italic
- Layout
- Li
- LoadDataset
- LoadFontfile
- Loop
- Makeindex
- Margin
- Mark
- Message
- NewPage
- NextFrame
- NextRow
- NoBreak
- Ol
- Options
- Otherwise
- Output
- Overlay
- PDFOptions
- Pageformat
- Pagetype
- Paragraph
- PlaceObject
- Position
- PositioningArea
- PositioningFrame
- ProcessNode
- Record
- Regular
- Rule
- SaveDataset
- SavePages
- SetGrid
- SetVariable
- SortSequence
- Span
- Stylesheet
- Sub
- Sup
- Switch
- Table
- TableNewPage
- Tablefoot
- Tablehead
- Tablerule
- Td
- Text
- Textblock
- Tr
- Trace
- Transformation
- U
- URL
- Ul
- Until
- VSpace
- Value
- While

Version: 3.6.1 | Start page | Command reference | Other language: German