Difference between revisions of "M365/test"
< M365
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
+ | <head> | ||
+ | <style> | ||
+ | .myDiv { | ||
+ | border: 5px outset red; | ||
+ | background-color: lightblue; | ||
+ | text-align: center; | ||
+ | } | ||
+ | </style> | ||
+ | </head> | ||
+ | <body> | ||
+ | |||
+ | <div class="myDiv"> | ||
+ | <h2>This is a heading in a div element</h2> | ||
+ | <p>This is some text in a div element.</p> | ||
+ | </div> | ||
+ | |||
+ | </body> | ||
+ | |||
{{M365}} | {{M365}} | ||
Revision as of 14:20, 2 March 2023
<head> <style> .myDiv {
border: 5px outset red; background-color: lightblue; text-align: center;
} </style> </head> <body>
This is a heading in a div element
This is some text in a div element.
</body>
Ces pages génèrent leur contenu en fonction de vos préférences linguistiques. Pour modifier votre préférence, veuillez changer la langue sélectionnée dans le coin supérieur droit de la page.
These pages generate their content based on your language preference. To change your preference, please change the language selected in the top right corner of the page.
.shadowbox {
width: 15em; border: 1px solid #333; box-shadow: 8px 8px 5px #444; padding: 8px 12px; background-image: linear-gradient(180deg, #fff, #ddd 40%, #ccc);
}