Search code examples
semantic-websemantics

What does mean by semantic?


I am searching the term 'Semantic Query Optimization'. But can't find any specific answer. Can you tell me what actually Semantic means?


Solution

  • Think of it as another way of saying something, usually in a way that's easier to understand.

    For example: HTML5 includes semantic tags.

    The semantic version of <div id="header"></div> is simply <header></header> It's just another way of stating the same thing.

    There is a front-end framework known as Semantic UI. In this framework, you can specify a four column row like this <div class="four wide column"></div> If you're familiar with the Bootstrap framework, you'd know the equivalent to be <div class="col-4"></div>.

    In conclusion, they both do the same thing, but they're stated differently.