Home>Article>Web Front-end> What is email html

What is email html

藏色散人
藏色散人 Original
2021-06-03 14:53:55 5717browse

Email html refers to HTML email. HTML email uses a subset of the HTML markup language to provide formatting and semantic markup functions in email, because these functions are not available in plain text documents, and most graphic email clients Support HTML mail.

What is email html

The operating environment of this article: Windows 7 system, HTML5 version, Dell G3 computer.

What is email html?

Email html refers to HTML email. HTML email (HTML email) uses a subset of the HTML markup language to provide formatting and semantic markup functions in emails, because these functions are not available in plain text documents. . Text can be linked without displaying the URL, or broken into the URL, and multiple events are wrapped in the appropriate width of the window, rather than evenly breaking each line into 78 text. It allows the inclusion of images, tables, and images of graphs or mathematical formulas among itself, those otherwise difficult to communicate (usually using ASCIIart).

Most graphical email clients support HTML email, and many default to it. Many clients include a GUI editor to compose HTML emails and a rendering engine for displaying received HTML emails.

Since its conception, some people have vocally opposed HTMLemail as a whole (and even MIME itself), for a variety of different reasons[2]. For example, the ASCII Ribbon movement advocated that all email should be put into ASCII text format, but this movement was unsuccessful and was abandoned in 2013[3][4]. When inappropriate thinking continues, posting in numerous newsgroups and mailing lists, its use of personal and business emails increases over time. There were those who strongly opposed it when it first appeared and we still regard it as harmless[5].

According to online marketing company surveys, the use of HTML to enable email users is now almost universal, with less than 3% reporting their text-only clients [6]. Most users prefer to receive HTML emails through plain text.

Compatibility

Email software complies with RFC 2822 and only needs to support plain text, not HTML formatting. Sending HTML-formatted emails can therefore cause problems if the recipient's email client does not support it. In the worst case the recipient will see HTML code instead of the expected message.

Those email clients that support HTML, some of which do not give it consistent W3C specifications, are also incompatible with many HTML emails, which may cause translation or rendering problems, especially for Gmail users [source request] .

Especially thetag, which is used to accommodate CSS style rules throughout the HTML document, is not well supported and is sometimes completely stripped, resulting in online style declarations becoming the de facto standard even online Style declarations are inefficient and fail to take full advantage of HTML's ability to separate style from content [source requested]. Although workarounds have been developed,[9] this has caused considerable frustration among communications developers, spawning grassroots email standards projects, scoring email clients on acid tests, inspired by web standards projects, and lobbying Developers improve their products. [10] Convinced Google to improve presentation in Gmail, for example, they published a video clip of a grimacing web developer to get employees' attention.

Message size

HTML emails are larger than plain text. Even without using special formatting, the overhead of using tags in a minimal HTML document can be much higher if formatting is overused. Multipart messages, copies of the same content in different formats, increase the size even further. The plain text portion of a multipart message can be retrieved by itself, but using IMAP's FETCH command.

While the download time difference between clear text and mixed messages (which could be ten or more times greater) was in the 1990s (when most users accessed email servers via slow modems), on modern connections , the difference will be insignificant to most people, especially when compared to images, music files, or other common attachments.

【Recommended learning:html video tutorial

The above is the detailed content of What is email html. 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