html_content = """ Semple & McKillop Ltd — Electrical Engineering Tools

SMK electrical tools
in one place.

Access electrical design schedules, BS 5839-1:2025 compliance tools, tender builders and site templates to support your project work.

DESIGN & TECHNICAL SCHEDULES

Design, CAD & schedules

Standardised schedule builders, drawing note packs and photometric import tools for project design.

COMPLIANCE & SAFETY

Fire safety & CDM

BS 5839-1:2025 fire alarm design records, cause & effect matrices and CDM 2015 risk assessments.

PROJECT DELIVERY

Tender, document control & site

Tender summaries, BS1192 document naming, issue sheets, meeting minutes and site supervision reports.

""" with open("index.html", "w", encoding="utf-8") as f: f.write(html_content) print("Lines:", len(html_content.splitlines())) print("Starts with DOCTYPE:", html_content.strip().startswith("")) print("Ends with :", html_content.strip().endswith("")) print("Has and :", "" in html_content and "" in html_content)