Tribute Page to Erich Fromm - My First Simple Page

So here it is: Tribute Page to Erich Fromm
Please let me know what you think :wink:

1 Like

Hi

This code is not correct:

 <h1 class="text-center">Erich Fromm</h1>
    <h3 class="text-center ">Psychoanalyst and philosopher whose book changed my life</h3>

Do not use lower levels to decrease heading font size: use the CSS font-size property instead.
Avoid skipping heading levels: always start from <h1>, next use <h2> and so on.

https://www.w3.org/TR/html5/sections.html#the-h1,-h2,-h3,-h4,-h5,-and-h6-elements

h1–h6 elements must not be used to markup subheadings, subtitles, alternative titles and taglines unless intended to be the heading for a new section or subsection. Instead use the markup patterns in the Common idioms without dedicated elements section of the specification.

Cheers and happy coding :slight_smile:

Thank you very much for this really useful comment. I learned something new today :smile_cat:
I substituted the h3 tag with a span tag. Once again thank you!

1 Like