src/HtmlBuilder.php
public function dl(array $list, array $attributes = []): Htmlable
    {
        $attributes = $this->attributes($attributes);

        $html = "<dl{$attributes}>";

        foreach ($list as $key => $value) {
            $html .= "<dt>{$key}</dt>";

            foreach ((array) $value as $description) {
                $html .= "<dd>{$description}</dd>";
            }
        }

        $html .= '</dl>';

        return $this->toHtmlString($html);
    }
public function dl(array $list, array $attributes = []): Htmlable
    {
        $attributes = $this->attributes($attributes);

        $html = "<dl{$attributes}>";

        foreach ($list as $key => $value) {
            $html .= "<dt>{$key}</dt>";

            foreach ((array) $value as $description) {
                $html .= "<dd>{$description}</dd>";
            }
        }

        $html .= '</dl>';

        return $this->toHtmlString($html);
    }
Generate a description list of items.

@param  array   $list
@param  array   $attributes

@return \Illuminate\Contracts\Support\Htmlable