Home >Web Front-end >HTML Tutorial >How to use html tt tag

How to use html tt tag

silencement
silencementOriginal
2019-05-26 18:08:084986browse

How to use html tt tag

##html78f983dbc27872ba42409adefe5049d9 tag definition and usage

In html, the 78f983dbc27872ba42409adefe5049d9 tag is used to define typewriter text,1a6c6d1b87ce5bbe3dd0eab6daf14c7f tag presents a typewriter or monospaced effect; HTML5 no longer supports the 78f983dbc27872ba42409adefe5049d9 tag.

html78f983dbc27872ba42409adefe5049d9Tag standard attributes

class: The class name of the element (value: class name).

dir: The text direction of the content in the element (values: rtl, ltr).

id: The unique id of the element (value: id).

lang: Specifies the language code of the content in the element (value: language_code).

style : The inline style of the element (value: style_definition).

title: Additional information of the element (value: text).

xml:lang: The language code of the content in the xhtml document element (value: language_code).

78f983dbc27872ba42409adefe5049d9Tag supports html global attributes and event attributes

Format:

78f983dbc27872ba42409adefe5049d9Textd98ca7951c814b9263d12f482df06c69

Example:

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>html< tt>标签笔记</title>
</head>
<body>
<table border="1">
<p>这是普通的文本</p>
<p><tt>这是tt标签标记的文本</tt></p>
</body>
</html>

The above is the detailed content of How to use html tt tag. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to use html dt tagNext article:How to use html dt tag

Related articles

See more