首页 WordPress函数大全 language_attributes()

language_attributes()

2020-05-02 / 5919阅 / 悠然

如何你看完本文还不知道如何使用该函数,可以联系我定制视频教程,50元/个函数,学不会全额退款

language_attributes( string $doctype = 'html' )

显示html标签的语言属性。

描述

建立一组html属性,其中包含页面的文本方向和语言信息。

参数

$doctype

(string)
(Optional)
The type of html document. Accepts 'xhtml' or 'html'.

Default value: 'html'

大家谈论
    我的见解