Sunday, November 21, 2021

html tutorial - part 4 head

list of tags in head section:

1) <title>

2) <base>

3) <link>

4) <meta>

5) <style>

6) <script>

where:

1)

<title> defines page title (this visible as tab name in your browser)

example:
<title> lol </title>

2)

<base> defines page base ( for example to use external resources, images, videos, etc...)

example:

<base href="https://hacknorris.blogspot.com/search/label/HTML"> </base>

3) 

<link> defines external resources like scripts or styles (eg. bootstrap)

example:

<link rel="script" href="https://hacknorris.blogspot.com/search/label/HTML/index.js"> </link>

4) 

<meta> contains useful info for example for search engines or page size

example:

<meta name="description" content="html tutorial by hacknorris"></meta>

5) 6)

<style> and <script> are for inserting style/code block which need to be executed for all page (tutorial later)

No comments:

Post a Comment