默认css如何影响呈现的html对象页面

默认css如何影响呈现的html对象页面,html,css,Html,Css,我得到的页面(可以控制内容)只能运行html(而不是javascript),如下所示: <style> h1 { color:red } </style> <object data=something.html ></object> h1{颜色:红色} 在something.html中,它包含: <h1> simple example </h1> 简单例子 在这种情况下,css不起作用,我希望简单示例是红色的,它

我得到的页面(可以控制内容)只能运行html(而不是javascript),如下所示:

<style>
h1 { color:red }
</style>
<object data=something.html ></object>

h1{颜色:红色}
在something.html中,它包含:

<h1>
simple example
</h1>

简单例子
在这种情况下,css不起作用,我希望
简单示例
是红色的,它仍然是黑色的。我的css是否可能以任何方式影响呈现的html源代码?(可以用任何标记替换对象标记)

尝试添加

<style>
h1 { color:red }
</style>

h1{颜色:红色}
something.html

希望这是你寻找的方式

你可以试试这个

<style>
h1 { color:red !important }
</style>
<h1>
simple example
</h1>

h1{颜色:红色!重要}
简单例子

尝试添加
h1{颜色:红色!重要;}
参考此链接: