tanszek:oktatas:techcomm:basics_of_the_hypertext_markup_language

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tanszek:oktatas:techcomm:basics_of_the_hypertext_markup_language [2024/09/23 10:14] – [Headings and Paragraphs] kissatanszek:oktatas:techcomm:basics_of_the_hypertext_markup_language [2024/09/25 07:30] (current) – [Images] kissa
Line 55: Line 55:
 <body> <body>
     <h1>Heading 1</h1>     <h1>Heading 1</h1>
-    <p>This is a paragraph</p>+    <p>This is a paragraph.</p> 
 +    <p>This is also a paragraph.</p>
 </body> </body>
 </html> </html>
Line 159: Line 160:
 In this example, ''src'' contains an **absolute URL**, the image will be downloaded from the server behind the www.uni-miskolc.hu domain. In this example, ''src'' contains an **absolute URL**, the image will be downloaded from the server behind the www.uni-miskolc.hu domain.
  
-In addition to this, we can define **relative URL**s to our HTML file. For example, if we have a folder ''imgs'' next to our HTML document, and a file called ''main_building.png'', we can refer to it as:+In addition to this, we can define **relative URL**s to our HTML file. For example, if we have a folder ''imgs'' next to our HTML document, and a file called ''main_building.png'' in this folder, we can refer to it as:
  
 <code XML> <code XML>
 <img src="imgs/main_building.png" alt="Main Building of the University of Miskolc"> <img src="imgs/main_building.png" alt="Main Building of the University of Miskolc">
 </code> </code>
 +
 +Try downloading an image from the internet, and using a relative URL in your HTML document!
  
 ==== Ordered and Unordered Lists ==== ==== Ordered and Unordered Lists ====
tanszek/oktatas/techcomm/basics_of_the_hypertext_markup_language.1727086485.txt.gz · Last modified: 2024/09/23 10:14 by kissa