---
name: "HTMLDocument.addParagraph"
section: "3kaya"
platform: "linux"
package: "kaya"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/HTMLDocument.addParagraph"
---

# HTMLDocument.addParagraph(3kaya)

Add a paragraph

## NAME

HTMLDocument::addParagraph - Add a paragraph

## SYNOPSIS

**ElementTree addParagraph(** *ElementTree parent, String initialtext=createString(0)* **)**

## ARGUMENTS

**parent** The parent element

**initialtext** Optionally, initial text content for the element.

## DESCRIPTION

Add a paragraph to the end of the specified element. Unlike most block-level elements, paragraphs may only contain inline elements.

## AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

## LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.
