Loading content…
Loading content…
Master search engine optimization, structured schema metadata, and modern performance-related resource preloading hints
<head>
<!-- Standard Head Properties -->
<title>CodeNivra - Advanced Software Learning Tracks</title>
<meta name="description" content="Master production-ready engineering patterns from React, Next.js, and Docker.">
<!-- OpenGraph Metadata -->
<meta property="og:title" content="CodeNivra - Advanced Software Learning Tracks">
<meta property="og:description" content="Master production-ready engineering patterns from React, Next.js, and Docker.">
<meta property="og:type" content="website">
<meta property="og:url" content="https://codenivra.io">
<meta property="og:image" content="https://codenivra.io/assets/og-home-preview.jpg">
<meta property="og:site_name" content="CodeNivra">
<!-- Twitter Metadata -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="CodeNivra - Advanced Software Learning Track">
<meta name="twitter:description" content="Learn core architectures from local coding to production-ready deployments.">
<meta name="twitter:image" content="https://codenivra.io/assets/og-home-preview.jpg">
</head>
<script type="application/ld+json"> tag.<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Course",
"name": "Full-Stack Development Mastery",
"description": "Learn to write real-time apps in Express, Prisma, and Docker Compose.",
"provider": {
"@type": "Organization",
"name": "CodeNivra",
"sameAs": "https://codenivra.io"
}
}
</script>
dns-prefetch: Performs DNS resolution for an external domain ahead of time.preconnect: Resolves DNS, TCP handshake, and SSL negotiation (best for fonts, APIs).preload: Forces browser to fetch a highly critical asset early (best for fonts, key CSS, hero images).prefetch: Fetches assets needed for future navigations in the background (low priority).<head>
<!-- Preconnect to Google Fonts and Neon APIs -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://api.neon.tech">
<!-- Preload the critical above-the-fold stylesheet -->
<link rel="preload" href="/styles/main.css" as="style">
<!-- Preload the main hero image to minimize LCP times -->
<link rel="preload" href="/images/hero-banner.webp" as="image">
</head>
srcset & picture<picture> and srcset to let browsers select the optimal image size automatically.<!-- Native responsive image selection -->
<picture>
<!-- Serve WebP formats first to supported browsers -->
<source srcset="/images/hero-mobile.webp 600w, /images/hero-desktop.webp 1200w" type="image/webp">
<!-- Fallback to standard JPEGs -->
<source srcset="/images/hero-mobile.jpg 600w, /images/hero-desktop.jpg 1200w" type="image/jpeg">
<!-- Fallback img element for old browsers, always include alt! -->
<img
src="/images/hero-desktop.jpg"
alt="Developer working on coding tracks dashboard"
loading="lazy"
width="1200"
height="600"
>
</picture>
Pro Tip
width and height attributes on your images. The browser uses these to reserve screen space, preventing Cumulative Layout Shift (CLS) when images load.Common Pitfall
loading="lazy" attribute on below-the-fold images to improve speed. However, never set it on above-the-fold hero images, as it delays the load and hurts your Largest Contentful Paint (LCP) score.SEO & HTML Performance Checklist
preconnect, preload) bypass network latency.Marking it complete updates your roadmap progress percentage.