diff --git a/.changeset/gorgeous-dancers-divide.md b/.changeset/gorgeous-dancers-divide.md
new file mode 100644
index 000000000..f9b8217e9
--- /dev/null
+++ b/.changeset/gorgeous-dancers-divide.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Do not add type="text/css" to inline style tag
diff --git a/packages/astro/src/core/render/ssr-element.ts b/packages/astro/src/core/render/ssr-element.ts
index 2d9bf9ae8..f282d349a 100644
--- a/packages/astro/src/core/render/ssr-element.ts
+++ b/packages/astro/src/core/render/ssr-element.ts
@@ -19,9 +19,7 @@ export function createStylesheetElement(
): SSRElement {
if (stylesheet.type === 'inline') {
return {
- props: {
- type: 'text/css',
- },
+ props: {},
children: stylesheet.content,
};
} else {
diff --git a/packages/astro/src/runtime/client/hmr.ts b/packages/astro/src/runtime/client/hmr.ts
index b4c6acb88..277751e28 100644
--- a/packages/astro/src/runtime/client/hmr.ts
+++ b/packages/astro/src/runtime/client/hmr.ts
@@ -1,8 +1,8 @@
///
if (import.meta.hot) {
- // Vite injects `