You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<imgsrc="./littleprince.jpg" alt="The Little Prince" width="350">
9
+
<div>
10
+
<p>As the little prince dropped off to sleep, I took him in my arms and set out walking once more.
11
+
<spanclass="underline">I felt deeply moved, and stirred. It seemed to me that I was carrying a very fragile treasure.</span>
12
+
<spanclass="highlight">It seemed to me, even, that there was nothing more fragile on all Earth.</span>
13
+
In the moonlight I looked at his pale forehead, his closed eyes, his locks of hair that trembled in the wind, and I said to myself:
14
+
<spanclass="quote">"What I see here is nothing but a shell. What is most important is invisible...</span>
15
+
As his lips opened slightly with the suspicion of a half-smile, I said to myself again:
16
+
<spanclass="quote">"What moves me so deeply, about this little prince who is sleeping here, is his loyalty to a flower--the image of a rose that shines through his whole being like the flame of a lamp, even when he is asleep..."</span>
17
+
And I delt him to be more fragile still.
18
+
<spanclass="underline">I felt the need of protecting him, as if he himself were a flame that might be extinguished by a little puff of wind...</span>
19
+
</p>
20
+
</div>
21
+
<ahref="../a1/index.html">Back to Introduction</a>
This is a paragraph with a border and margin applied using internal CSS.
86
+
</p>
87
+
</body>
88
+
89
+
</html>
90
+
91
+
<!--attribute tags give extra information about an element. For example, the <a> tag uses the href attribute to specify the URL of the page the link goes to. In this case, the href attribute is set to "http://www.google.com", which means that clicking on the link will take you to Google's homepage. The target attribute is set to "_blank", which means that the link will open in a new tab or window when clicked.
92
+
The <h1> tag defines a top-level heading, h2 defines a second-level heading, h3 defines a third-level heading, and so on. Headings are used to structure the content of a webpage and make it easier to read.
93
+
<p> defines a paragraph of text. you can use <span> to style a portion of text within a paragraph.
94
+
target="_blank" specifies that the link should open in a new tab or window.
95
+
divisions or sections in an HTML document. They are used to group together related elements and apply styles or scripts to them as a whole.
96
+
for example, you might use a <div> to group together a header, navigation menu, and main content area on a webpage.
97
+
style="color" is an inline CSS style that sets the text color of an element. For example, <pstyle="color:blue;">
98
+
the list tag is used to create lists in HTML. There are a few types of lists: ordered lists (<ol>), unordered lists (<ul>), and definition lists (<dl>).
99
+
An ordered list (<ol>) is a numbered list, while an unordered list (<ul>) is a bulleted list. A definition list (<dl>) is used to define terms and their definitions.
100
+
101
+
102
+
IMAGES: Images have 4 main attributes, src, alt, width, height
103
+
src: specifies the path to the image file
104
+
alt: provides alternative text for the image if it cannot be displayed
105
+
width and height: specify the dimensions of the image in pixels or as a percentage of the containing element.
106
+
107
+
tables are created using the <table> tag, with rows defined by the <tr> tag and cells defined by the <td> tag. You can also use the <th> tag to define header cells in a table.
108
+
individual <style> tags can be used to apply CSS styles directly to an HTML element. For example, you might use a <style> tag to set the font size or color of a specific paragraph or heading.
109
+
these can also be created in a .css file and linked to the HTML document using the <link rel="stylesheet" type="text/css" href="[fil].css"> tag in the <head> section.
0 commit comments