如何在 html 中定义嵌入标签的字体样式

how to define font style of embed tag in html

我在html的embed标签中定义font-family的时候停了下来,因为我定义了Cssclass并且在style标签中也提到了,但它没有改变。

所以我需要一个更改嵌入标签中字体样式的建议。在嵌入标签中,内容由管理面板同时上传。我们需要使用 css 来定义字体样式,有什么办法吗?

代码

       <embed  src="result/Career.txt" class="auto-style4"  />

你可以使用 php!它可以直接嵌入到您的 html 文件中。

<?php
echo file_get_contents( "filename.php" );
?>

您可以将 php 语句包装在您选择的 html 标签中,然后使用 css 样式标签。