Empty Block

Method dtd_check


Info
  public function dtd_check (string|int $doctype): self; 

Affects markup formatting by setting document type definition.

Arguments
  • @doctype - Either 5 as integer (or string) or string 'X'.
Return Value

Returns Funcdown object so that method chaining can occur if plausable.

Examples

  // 5 is for HTML5 spec
  $funcdown-> dtd_check (5);

  // X is for XML spec
  $funcdown-> dtd_check ("X");

Empty Block
Empty Block
Empty Block
Empty Block